Module datarush.library
Interface MutableScalarTokenSequence
-
- All Superinterfaces:
MutableTokenSequence
,ScalarTokenAppendable
,ScalarTokenSequence
,ScalarTyped
,TokenAppendable
,TokenSequence
,TokenTyped
- All Known Subinterfaces:
MutableBinaryTokenSequence
,MutableBooleanTokenSequence
,MutableCharTokenSequence
,MutableDateTokenSequence
,MutableDoubleTokenSequence
,MutableDurationTokenSequence
,MutableFloatTokenSequence
,MutableIntTokenSequence
,MutableIp4AddressTokenSequence
,MutableIp6AddressTokenSequence
,MutableLongTokenSequence
,MutableMoneyTokenSequence
,MutableNumericTokenSequence
,MutableObjectTokenSequence<O>
,MutablePeriodTokenSequence
,MutableStringTokenSequence
,MutableTimestampTokenSequence
,MutableTimeTokenSequence
- All Known Implementing Classes:
AbstractScalarTokenSequence
,BinaryTokenList
,BooleanTokenList
,CharTokenList
,DateTokenList
,DoubleTokenList
,DurationTokenList
,FloatTokenList
,IntTokenList
,Ip4AddressTokenList
,Ip6AddressTokenList
,LongTokenList
,MoneyTokenList
,NumericTokenList
,ObjectTokenList
,PeriodTokenList
,SparseBinaryTokenList
,SparseBooleanTokenList
,SparseCharTokenList
,SparseDateTokenList
,SparseDoubleTokenList
,SparseDurationTokenList
,SparseFloatTokenList
,SparseIntTokenList
,SparseIp4AddressTokenList
,SparseIp6AddressTokenList
,SparseLongTokenList
,SparseMoneyTokenList
,SparseNumericTokenList
,SparseObjectTokenList
,SparsePeriodTokenList
,SparseStringTokenList
,SparseTimestampTokenList
,SparseTimeTokenList
,StringTokenList
,TimestampTokenList
,TimeTokenList
public interface MutableScalarTokenSequence extends ScalarTokenSequence, MutableTokenSequence, ScalarTokenAppendable
AMutableTokenSequence
containing scalar typed tokens. The scalar token types are enumerated inTokenTypeConstant
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
ensureCanonical()
Ensures that the internal representation is in a canonical form such that it can be read safely by multiple threads.long
getModificationCount()
Returns the current modification count.ScalarSettable
getTokenSetter(int index)
Returns a mutator for the given index.-
Methods inherited from interface com.pervasive.datarush.sequences.MutableTokenSequence
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZero
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.ScalarTokenSequence
getToken, getType, isNull, isZero, newValueIterator
-
Methods inherited from interface com.pervasive.datarush.sequences.TokenAppendable
append, append, append, append
-
Methods inherited from interface com.pervasive.datarush.sequences.TokenSequence
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
-
-
-
-
Method Detail
-
getModificationCount
long getModificationCount()
Returns the current modification count. Modification count must be strictly increasing.- Returns:
- the current change sequence number
-
ensureCanonical
void ensureCanonical()
Ensures that the internal representation is in a canonical form such that it can be read safely by multiple threads.
-
getTokenSetter
ScalarSettable getTokenSetter(int index)
Description copied from interface:MutableTokenSequence
Returns a mutator for the given index.- Specified by:
getTokenSetter
in interfaceMutableTokenSequence
- Parameters:
index
- the position- Returns:
- a mutator for the given index.
-
-