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