Module datarush.library
Interface MutableIp6AddressTokenSequence
-
- All Superinterfaces:
Ip6AddressTokenSequence
,MutableScalarTokenSequence
,MutableTokenSequence
,ScalarTokenAppendable
,ScalarTokenSequence
,ScalarTyped
,TokenAppendable
,TokenSequence
,TokenTyped
- All Known Implementing Classes:
Ip6AddressTokenList
,SparseIp6AddressTokenList
public interface MutableIp6AddressTokenSequence extends Ip6AddressTokenSequence, MutableScalarTokenSequence
AMutableTokenSequence
containing ip6address valued data.- See Also:
TokenTypeConstant#IP6ADDRESS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(byte[] value)
Appends the specified ip6address value to this sequence.void
append(byte[] value, int count)
Appends the specified ip6address value to this sequence multiple times.Ip6AddressSettable
getTokenSetter(int index)
Returns a mutator for the given index.void
set(int index, byte[] value)
Sets the token at the specified position to the given raw ip6address value.void
set(int index, long[] value)
Sets the token at the specified position to the given raw ip6address value as a pair of longs.void
set(int index, Inet4Address value)
Sets the token at the specified position to the given Inet4Address value.void
set(int index, Inet6Address value)
Sets the token at the specified position to the given Inet6Address value.-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.Ip6AddressTokenSequence
getAddress, getInetAddress, getToken, getValues, newValueIterator
-
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.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(byte[] value)
Appends the specified ip6address value to this sequence.- Parameters:
value
- the value to append. Ifnull
, this is equivalent toappendNull()
.
-
append
void append(byte[] value, int count)
Appends the specified ip6address value to this sequence multiple times.- Parameters:
value
- the value to append. Ifnull
, this is equivalent toappendNull(count)
.count
- the number of copies to append.
-
set
void set(int index, long[] value)
Sets the token at the specified position to the given raw ip6address value as a pair of longs.- Parameters:
index
- the position of the token in the arrayvalue
- the ip6address as a pair of longs to which to set the token. Passingnull
is equivalent to callingsetNull(index)
.
-
set
void set(int index, byte[] value)
Sets the token at the specified position to the given raw ip6address value.The input array is copied to prevent later modification of the value that is set.
- Parameters:
index
- the position of the token in the arrayvalue
- the raw ip4address value to which to set the token. Passingnull
is equivalent to callingsetNull(index)
.
-
set
void set(int index, Inet4Address value)
Sets the token at the specified position to the given Inet4Address value. The ipv4 address will be converted to a ipv4 mapped ipv6 address.- Parameters:
index
- the position of the token in the arrayvalue
- the Inet6Address value to which to set the token. Passingnull
is equivalent to callingsetNull(index)
.
-
set
void set(int index, Inet6Address value)
Sets the token at the specified position to the given Inet6Address value.- Parameters:
index
- the position of the token in the arrayvalue
- the Inet6Address value to which to set the token. Passingnull
is equivalent to callingsetNull(index)
.
-
getTokenSetter
Ip6AddressSettable 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.
-
-