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
A
MutableTokenSequence containing scalar typed tokens.
The scalar token types are enumerated in TokenTypeConstant.-
Method Summary
Modifier and TypeMethodDescriptionvoidEnsures that the internal representation is in a canonical form such that it can be read safely by multiple threads.longReturns the current modification count.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, setZeroMethods inherited from interface com.pervasive.datarush.sequences.scalar.ScalarTokenSequence
getToken, getType, isNull, isZero, newValueIteratorMethods inherited from interface com.pervasive.datarush.sequences.TokenAppendable
append, append, append, appendMethods inherited from interface com.pervasive.datarush.sequences.TokenSequence
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
-
Method Details
-
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
Description copied from interface:MutableTokenSequenceReturns a mutator for the given index.- Specified by:
getTokenSetterin interfaceMutableTokenSequence- Parameters:
index- the position- Returns:
- a mutator for the given index.
-