Class AbstractScalarReader.ScalarObjectReader
java.lang.Object
org.apache.drill.exec.vector.accessor.reader.AbstractObjectReader
org.apache.drill.exec.vector.accessor.reader.AbstractScalarReader.ScalarObjectReader
- All Implemented Interfaces:
ColumnReader
,ObjectReader
- Enclosing class:
- AbstractScalarReader
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ScalarObjectReader
-
-
Method Details
-
scalar
- Specified by:
scalar
in interfaceObjectReader
- Overrides:
scalar
in classAbstractObjectReader
-
getObject
Description copied from interface:ColumnReader
Return 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:ColumnReader
Return the entire object as a string. Primarily for debugging.- Returns:
- string representation of the object
-
events
- Specified by:
events
in classAbstractObjectReader
-
reader
Description copied from interface:ObjectReader
Gets the reader as a generic type, for dynamic programming.- Specified by:
reader
in interfaceObjectReader
- Specified by:
reader
in classAbstractObjectReader
- Returns:
- the untyped reader
-