public interface TupleReader extends ColumnReader
TupleWriter}
Modifier and Type | Method and Description |
---|---|
ArrayReader |
array(int colIndex) |
ArrayReader |
array(String colName) |
ObjectReader |
column(int colIndex)
Return a column reader by column index as reported by the
associated metadata.
|
ObjectReader |
column(String colName)
Return a column reader by name.
|
int |
columnCount() |
DictReader |
dict(int colIndex) |
DictReader |
dict(String colName) |
ScalarReader |
scalar(int colIndex) |
ScalarReader |
scalar(String colName) |
TupleReader |
tuple(int colIndex) |
TupleReader |
tuple(String colName) |
TupleMetadata |
tupleSchema() |
ObjectType |
type(int colIndex) |
ObjectType |
type(String colName) |
VariantReader |
variant(int colIndex) |
VariantReader |
variant(String colName) |
getAsString, getObject, isNull, schema, type
TupleMetadata tupleSchema()
int columnCount()
ObjectReader column(int colIndex)
colIndex
- column index{@link
- java.lang.IndexOutOfBoundsException} if the index is invalidObjectReader column(String colName)
colName
- column nameObjectType type(int colIndex)
ObjectType type(String colName)
ScalarReader scalar(int colIndex)
ScalarReader scalar(String colName)
TupleReader tuple(int colIndex)
TupleReader tuple(String colName)
ArrayReader array(int colIndex)
ArrayReader array(String colName)
VariantReader variant(int colIndex)
VariantReader variant(String colName)
DictReader dict(int colIndex)
DictReader dict(String colName)
Copyright © 1970 The Apache Software Foundation. All rights reserved.