public final class FieldCacheHolderTracker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.atomic.AtomicLong |
ERROR_COUNT
the error count
|
Constructor and Description |
---|
FieldCacheHolderTracker(boolean appendRowMode)
constructor
|
Modifier and Type | Method and Description |
---|---|
FieldCacheHolder |
fetch(FieldValuesHolder values,
java.lang.String key)
Add a new holder to track
|
FieldCacheHolder |
get(int pos)
get the holder
|
boolean |
isAppendMode()
are we in append mode ?
|
int |
size()
the size
|
void |
store(FieldValuesHolder values,
java.lang.String key,
FieldCacheHolder fch)
Add a new holder to track
|
boolean |
valid(FieldCacheHolder fch)
is this holder valid
|
public static final java.util.concurrent.atomic.AtomicLong ERROR_COUNT
public FieldCacheHolderTracker(boolean appendRowMode)
appendRowMode
- are we in append mode ?public boolean isAppendMode()
public FieldCacheHolder fetch(FieldValuesHolder values, java.lang.String key)
values
- the valueskey
- the field keypublic void store(FieldValuesHolder values, java.lang.String key, FieldCacheHolder fch)
values
- the valueskey
- the field keyfch
- the holder to trackpublic boolean valid(FieldCacheHolder fch)
fch
- the holderpublic FieldCacheHolder get(int pos)
pos
- the positionpublic int size()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.