public interface Ip6AddressTokenSequence extends ScalarTokenSequence
TokenSequence containing ip6address valued data.TokenTypeConstant#IP6ADDRESS| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAddress(int index)
Gets the value of the specified token as
a raw IPv6 address value.
|
Inet6Address |
getInetAddress(int index)
Gets the value of the specified token as
an Inet6Address value.
|
Ip6AddressValued |
getToken(int index)
Gets the value at the specified position.
|
void |
getValues(int start,
long[][] values,
boolean[] nulls,
int offset,
int length)
Gets the values and null indicators for a range of tokens.
|
Ip6AddressValuedIterator |
newValueIterator()
Creates an iterator over the non-null values of this sequence.
|
getType, isNull, isZerocompareElement, compareElements, getElementComparator, hashCode, isNull, size, toStringIp6AddressValued getToken(int index)
TokenSequencegetToken in interface ScalarTokenSequencegetToken in interface TokenSequenceindex - the index of the tokenbyte[] getAddress(int index)
A copy of the value is returned.
index - the position of the token in the sequencenull is returned.Inet6Address getInetAddress(int index)
index - the position of the token in the sequencenull is returned.void getValues(int start,
long[][] values,
boolean[] nulls,
int offset,
int length)
References to the values of the tokens are returned. Modifying these references modify the values of the tokens in the sequence.
start - the starting index of the rangevalues - an array into which to place element valuesnulls - an array into which to place null indicator valuesoffset - the starting offset into the target arrays. That is,
elements[offset] and nulls[offset] will get the
value and null indicator respectively of the token at position
start, and so on.length - number of tokens to getIp6AddressValuedIterator newValueIterator()
TokenSequencenewValueIterator in interface ScalarTokenSequencenewValueIterator in interface TokenSequenceCopyright © 2024 Actian Corporation. All rights reserved.