Class NullStateReaders.ComplexMemberStateReader

java.lang.Object
org.apache.drill.exec.vector.accessor.reader.NullStateReaders.ComplexMemberStateReader
All Implemented Interfaces:
NullStateReader
Enclosing class:
NullStateReaders

protected static class NullStateReaders.ComplexMemberStateReader extends Object implements NullStateReader
Handle the awkward situation with complex types. They don't carry their own bits (null state) vector. Instead, we define them as null if the type of the union is other than the type of the map or list. (Since the same vector that holds state also holds the is-null value, this check includes the check if the entire union is null.)