Class ArrayReaderImpl.ArrayObjectReader
java.lang.Object
org.apache.drill.exec.vector.accessor.reader.AbstractObjectReader
org.apache.drill.exec.vector.accessor.reader.ArrayReaderImpl.ArrayObjectReader
- All Implemented Interfaces:
ColumnReader,ObjectReader
- Direct Known Subclasses:
DictReaderImpl.DictObjectReader
- Enclosing class:
ArrayReaderImpl
Object representation of an array reader.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ArrayObjectReader
-
-
Method Details
-
array
- Specified by:
arrayin interfaceObjectReader- Overrides:
arrayin classAbstractObjectReader
-
getObject
Description copied from interface:ColumnReaderReturn the value of the underlying data as a Java object. Primarily for testing- Array: Return the entire array as an List of objects. Note, even if the array is scalar, the elements are still returned as a list.
- Returns:
- the value as a Java object
-
getAsString
Description copied from interface:ColumnReaderReturn the entire object as a string. Primarily for debugging.- Returns:
- string representation of the object
-
events
- Specified by:
eventsin classAbstractObjectReader
-
reader
Description copied from interface:ObjectReaderGets the reader as a generic type, for dynamic programming.- Specified by:
readerin interfaceObjectReader- Specified by:
readerin classAbstractObjectReader- Returns:
- the untyped reader
-