Represents one series of output from a relational operator. Allows both generic access by ordinal, which will incur boxing overhead for primitives, as well as native primitive access.
It is invalid to use the native primitive interface to retrieve a value that is null, instead a
user must check isNullAt
before attempting to retrieve a value that might be null.
- Companion:
- object
Value members
Abstract methods
Concrete methods
Returns true if there are any NULL values in this series.
Returns true if there are any NULL values in this series.
Returns the value at position i. If the value is null, null is returned.
Returns the value at position i. If the value is null, null is returned.
Returns the value at position i. For primitive types if value is null it returns 'zero value' specific for primitive ie. 0 for Int - use isNullAt to ensure that value is not null
Returns the value at position i. For primitive types if value is null it returns 'zero value' specific for primitive ie. 0 for Int - use isNullAt to ensure that value is not null
- Throws:
- ClassCastException
when data type does not match.
Returns the value of a given fieldName. For primitive types if value is null it returns 'zero value' specific for primitive ie. 0 for Int - use isNullAt to ensure that value is not null
Returns the value of a given fieldName. For primitive types if value is null it returns 'zero value' specific for primitive ie. 0 for Int - use isNullAt to ensure that value is not null
- Throws:
- ClassCastException
when data type does not match.
- IllegalArgumentException
when fieldName do not exist.
- UnsupportedOperationException
when schema is not defined.
Checks whether the value at position i is missing (null or Double.NaN) if the position is valid, otherwise treated as missing too.
Checks whether the value at position i is missing (null or Double.NaN) if the position is valid, otherwise treated as missing too.