Module datarush.library
Interface MutableStringTokenSequence
- All Superinterfaces:
MutableScalarTokenSequence,MutableTokenSequence,ScalarTokenAppendable,ScalarTokenSequence,ScalarTyped,StringTokenSequence,TokenAppendable,TokenSequence,TokenTyped
- All Known Implementing Classes:
SparseStringTokenList,StringTokenList
A
MutableTokenSequence containing string valued data.- See Also:
-
TokenTypeConstant#STRING
-
Method Summary
Modifier and TypeMethodDescriptionvoidAppends the specified string to this sequence.voidAppends the specified string to this sequence multiple times.getTokenSetter(int index) Returns a mutator for the given index.voidSets the token at the specified position to the given value.Methods inherited from interface com.pervasive.datarush.sequences.scalar.MutableScalarTokenSequence
ensureCanonical, getModificationCountMethods 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
getType, isNull, isZeroMethods inherited from interface com.pervasive.datarush.sequences.scalar.StringTokenSequence
getString, getToken, getValues, 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
-
append
Appends the specified string to this sequence.- Parameters:
value- the value to append. Ifnull, this is equivalent toappendNull().
-
append
Appends the specified string to this sequence multiple times.- Parameters:
value- the value to append. Ifnull, this is equivalent toappendNull(count).count- the number of copies to append.
-
setString
Sets the token at the specified position to the given value.- Parameters:
index- the position to modifyvalue- the new value
-
getTokenSetter
Description copied from interface:MutableTokenSequenceReturns a mutator for the given index.- Specified by:
getTokenSetterin interfaceMutableScalarTokenSequence- Specified by:
getTokenSetterin interfaceMutableTokenSequence- Parameters:
index- the position- Returns:
- a mutator for the given index.
-