Class TupleWriter.UndefinedColumnException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.drill.exec.vector.accessor.TupleWriter.UndefinedColumnException
All Implemented Interfaces:
Serializable
Enclosing interface:
TupleWriter

public static class TupleWriter.UndefinedColumnException extends RuntimeException
Unchecked exception thrown when attempting to access a column writer by name for an undefined columns. Clients that use a fixed schema can simply omit catch blocks for the exception since it is unchecked and won't be thrown if the schema can't evolve. Clients that can discover new columns should catch the exception and define the column (using an implementation that allows dynamic schema definition.)
See Also:
  • Constructor Details

    • UndefinedColumnException

      public UndefinedColumnException(String colName)