Uses of Class
org.apache.drill.common.types.TypeProtos.MajorType
Package
Description
Logical expression tree representation.
Logical function definitions.
Logical data types.
Drill expression materialization and evaluation facilities.
Handles optional file metadata columns: implicit columns and
partition columns.
Provides run-time semantic analysis of the projection list for the
scan operator.
Provides the "version 3" scan framework (which can also be thought of
as EVF version 2).
Implements the details of the scan lifecycle for a set of readers,
primarily the process of resolving the scan output schema from a variety
of input schemas, then running each reader, each of which will produce
some number of batches.
Provides a second-generation row set (AKA "record batch") writer used
by client code to
Define the schema of a result set.
Write data into the vectors backing a row set.
Handles the details of the result set loader implementation.
Provides a fluent schema builder.
Defines a mock data source which generates dummy test data for use
in testing.
Provides a light-weight, simplified set of column readers and writers that
can be plugged into a variety of row-level readers and writers.
Provides the reader hierarchy as explained in the API package.
-
Uses of TypeProtos.MajorType in org.apache.drill.common.expression
Modifier and TypeFieldDescriptionprotected final TypeProtos.MajorType
PathSegment.originalValueType
Indicates the type of original value.final TypeProtos.MajorType
IfExpression.outputType
OutputTypeDeterminer.FixedType.outputType
Modifier and TypeMethodDescriptionAnyValueExpression.getMajorType()
BooleanOperator.getMajorType()
CastExpression.getMajorType()
ConvertExpression.getMajorType()
FieldReference.getMajorType()
FunctionCall.getMajorType()
IfExpression.getMajorType()
LogicalExpression.getMajorType()
LogicalExpressionBase.getMajorType()
MajorTypeInLogicalExpression.getMajorType()
NullExpression.getMajorType()
SchemaPath.getMajorType()
TypedFieldExpr.getMajorType()
TypedNullConstant.getMajorType()
ValueExpressions.BooleanExpression.getMajorType()
ValueExpressions.DateExpression.getMajorType()
ValueExpressions.Decimal18Expression.getMajorType()
ValueExpressions.Decimal28Expression.getMajorType()
ValueExpressions.Decimal38Expression.getMajorType()
ValueExpressions.Decimal9Expression.getMajorType()
ValueExpressions.DoubleExpression.getMajorType()
ValueExpressions.FloatExpression.getMajorType()
ValueExpressions.IntervalDayExpression.getMajorType()
ValueExpressions.IntervalYearExpression.getMajorType()
ValueExpressions.IntExpression.getMajorType()
ValueExpressions.LongExpression.getMajorType()
ValueExpressions.ParameterExpression.getMajorType()
ValueExpressions.QuotedString.getMajorType()
ValueExpressions.TimeExpression.getMajorType()
ValueExpressions.TimeStampExpression.getMajorType()
ValueExpressions.VarDecimalExpression.getMajorType()
PathSegment.getOriginalValueType()
OutputTypeDeterminer.FixedType.getOutputType
(List<LogicalExpression> expressions) OutputTypeDeterminer.getOutputType
(List<LogicalExpression> expressions) OutputTypeDeterminer.NullIfNullType.getOutputType
(List<LogicalExpression> expressions) OutputTypeDeterminer.SameAsAnySoft.getOutputType
(List<LogicalExpression> expressions) OutputTypeDeterminer.SameAsFirstInput.getOutputType
(List<LogicalExpression> expressions) Modifier and TypeMethodDescriptionvoid
ErrorCollector.addNonNumericType
(ExpressionPosition expr, TypeProtos.MajorType actual) void
ErrorCollectorImpl.addNonNumericType
(ExpressionPosition expr, TypeProtos.MajorType actual) void
ErrorCollector.addUnexpectedArgumentType
(ExpressionPosition expr, String name, TypeProtos.MajorType actual, TypeProtos.MajorType[] expected, int argumentIndex) void
ErrorCollectorImpl.addUnexpectedArgumentType
(ExpressionPosition expr, String name, TypeProtos.MajorType actual, TypeProtos.MajorType[] expected, int argumentIndex) void
ErrorCollector.addUnexpectedType
(ExpressionPosition expr, int index, TypeProtos.MajorType actual) void
ErrorCollectorImpl.addUnexpectedType
(ExpressionPosition expr, int index, TypeProtos.MajorType actual) static LogicalExpression
FunctionCallFactory.createCast
(TypeProtos.MajorType type, ExpressionPosition ep, LogicalExpression expr) SchemaPath.getChild
(int index, Object originalValue, TypeProtos.MajorType valueType) SchemaPath.getChild
(String childPath, Object originalValue, TypeProtos.MajorType valueType) static LogicalExpression
ValueExpressions.getParameterExpression
(String name, TypeProtos.MajorType type) IfExpression.Builder.setOutputType
(TypeProtos.MajorType outputType) ModifierConstructorDescriptionArraySegment
(int index, Object originalValue, TypeProtos.MajorType valueType) CastExpression
(LogicalExpression input, TypeProtos.MajorType type, ExpressionPosition pos) FieldReference
(String value, ExpressionPosition pos, TypeProtos.MajorType dataType) FixedType
(TypeProtos.MajorType outputType) MajorTypeInLogicalExpression
(TypeProtos.MajorType majorType) NameSegment
(CharSequence n, Object originalValue, TypeProtos.MajorType valueType) protected
ParameterExpression
(String name, TypeProtos.MajorType type, ExpressionPosition pos) PathSegment
(PathSegment child, Object originalValue, TypeProtos.MajorType originalValueType) TypedFieldExpr
(SchemaPath path, TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.common.expression.fn
Modifier and TypeMethodDescriptionFuncHolder.getParamMajorType
(int i) Drill SQL type of an input parameter. -
Uses of TypeProtos.MajorType in org.apache.drill.common.expression.parser
-
Uses of TypeProtos.MajorType in org.apache.drill.common.types
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
Types.LATE_BIND_TYPE
static final TypeProtos.MajorType
Types.NULL
static final TypeProtos.MajorType
Types.OPTIONAL_BIT
static final TypeProtos.MajorType
Types.OPTIONAL_INT
static final TypeProtos.MajorType
Types.REQUIRED_BIT
Modifier and TypeFieldDescriptionstatic final com.google.protobuf.Parser<TypeProtos.MajorType>
TypeProtos.MajorType.PARSER
Deprecated.Modifier and TypeMethodDescriptionTypeProtos.MajorType.Builder.build()
TypeProtos.MajorType.Builder.buildPartial()
static TypeProtos.MajorType
TypeProtos.MajorType.getDefaultInstance()
TypeProtos.MajorType.Builder.getDefaultInstanceForType()
TypeProtos.MajorType.getDefaultInstanceForType()
static TypeProtos.MajorType
Types.getMajorTypeFromName
(String typeName) static TypeProtos.MajorType
Types.getMajorTypeFromName
(String typeName, TypeProtos.DataMode mode) SchemaTypeProtos.MajorType.MessageSchema.newMessage()
static TypeProtos.MajorType
Types.optional
(TypeProtos.MinorType type) static TypeProtos.MajorType
Types.overrideMode
(TypeProtos.MajorType originalMajorType, TypeProtos.DataMode overrideMode) static TypeProtos.MajorType
TypeProtos.MajorType.parseDelimitedFrom
(InputStream input) static TypeProtos.MajorType
TypeProtos.MajorType.parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(byte[] data) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(com.google.protobuf.ByteString data) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(com.google.protobuf.CodedInputStream input) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(InputStream input) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(ByteBuffer data) static TypeProtos.MajorType
TypeProtos.MajorType.parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorType
Types.repeated
(TypeProtos.MinorType type) static TypeProtos.MajorType
Types.required
(TypeProtos.MinorType type) static TypeProtos.MajorType
Types.withMode
(TypeProtos.MinorType type, TypeProtos.DataMode mode) static TypeProtos.MajorType
Types.withPrecision
(TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision) Builds major type using given minor type, data mode and precision.static TypeProtos.MajorType
Types.withPrecisionAndScale
(TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision, int scale) Modifier and TypeMethodDescriptioncom.google.protobuf.Parser<TypeProtos.MajorType>
TypeProtos.MajorType.getParserForType()
static com.google.protobuf.Parser<TypeProtos.MajorType>
TypeProtos.MajorType.parser()
SchemaTypeProtos.MajorType.MessageSchema.typeClass()
Modifier and TypeMethodDescriptionstatic TypeProtos.MajorType.Builder
Types.calculateTypePrecisionAndScale
(TypeProtos.MajorType leftType, TypeProtos.MajorType rightType, TypeProtos.MajorType.Builder typeBuilder) Sets max precision from both types if these types are string scalar types.static String
Types.getBaseSqlTypeName
(TypeProtos.MajorType type) static String
Types.getExtendedSqlTypeName
(TypeProtos.MajorType type) Extend decimal type with precision and scale.static int
Types.getJdbcDisplaySize
(TypeProtos.MajorType type) static int
Types.getPrecision
(TypeProtos.MajorType majorType) Get theprecision
of given type.static int
Types.getScale
(TypeProtos.MajorType majorType) Get thescale
of given type.static String
Types.getSqlModeName
(TypeProtos.MajorType type) static String
Types.getSqlTypeName
(TypeProtos.MajorType type) Gets SQL data type name for given Drill RPC-/protobuf-level data type.static boolean
Types.isComplex
(TypeProtos.MajorType type) static boolean
Types.isDateTimeType
(TypeProtos.MajorType type) static boolean
Types.isDecimalType
(TypeProtos.MajorType type) Returns true if specified type is decimal data type.static boolean
Types.isEquivalent
(TypeProtos.MajorType type1, TypeProtos.MajorType type2) Requires full type equality, including fields such as precision and scale.static boolean
Types.isFixedWidthType
(TypeProtos.MajorType type) boolean
SchemaTypeProtos.MajorType.MessageSchema.isInitialized
(TypeProtos.MajorType message) static boolean
Types.isIntervalType
(TypeProtos.MajorType type) static boolean
Types.isJdbcSignedType
(TypeProtos.MajorType type) Reports whether given RPC-level type is a signed type (per semantics ofResultSetMetaData.isSigned(int)
).static boolean
Types.isNullable
(TypeProtos.MajorType type) static boolean
Types.isNumericType
(TypeProtos.MajorType type) static boolean
Types.isRepeated
(TypeProtos.MajorType type) static boolean
Types.isSameType
(TypeProtos.MajorType type1, TypeProtos.MajorType type2) Check if two "core" types are the same, ignoring subtypes and children.static boolean
Types.isSameTypeAndMode
(TypeProtos.MajorType first, TypeProtos.MajorType second) Check if two "core" types have the same minor type and data mode, ignoring subtypes and children.static boolean
Types.isScalarStringType
(TypeProtos.MajorType type) Checks if given major type is string scalar type.static boolean
Types.isUnion
(TypeProtos.MajorType toType) static boolean
Types.isUntypedNull
(TypeProtos.MajorType type) void
SchemaTypeProtos.MajorType.MessageSchema.mergeFrom
(io.protostuff.Input input, TypeProtos.MajorType message) TypeProtos.MajorType.Builder.mergeFrom
(TypeProtos.MajorType other) static TypeProtos.MajorType.Builder
TypeProtos.MajorType.newBuilder
(TypeProtos.MajorType prototype) static TypeProtos.MajorType
Types.overrideMode
(TypeProtos.MajorType originalMajorType, TypeProtos.DataMode overrideMode) static boolean
Types.softEquals
(TypeProtos.MajorType a, TypeProtos.MajorType b, boolean allowNullSwap) static String
Types.toString
(TypeProtos.MajorType type) static boolean
Types.usesHolderForGet
(TypeProtos.MajorType type) void
SchemaTypeProtos.MajorType.MessageSchema.writeTo
(io.protostuff.Output output, TypeProtos.MajorType message) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.expr
Modifier and TypeMethodDescriptionClassGenerator.HoldingContainer.getMajorType()
DrillFuncHolderExpr.getMajorType()
HiveFuncHolderExpr.getMajorType()
HoldingContainerExpression.getMajorType()
ValueVectorReadExpression.getMajorType()
ValueVectorWriteExpression.getMajorType()
static TypeProtos.MajorType
BasicTypeHelper.getType
(Decimal18Holder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(Decimal28DenseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(Decimal28SparseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(Decimal38DenseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(Decimal38SparseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(Decimal9Holder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(NullableDecimal18Holder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(NullableDecimal28DenseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(NullableDecimal28SparseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(NullableDecimal38DenseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(NullableDecimal38SparseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(NullableDecimal9Holder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(NullableVarDecimalHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(RepeatedDecimal18Holder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(RepeatedDecimal28DenseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(RepeatedDecimal28SparseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(RepeatedDecimal38DenseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(RepeatedDecimal38SparseHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(RepeatedDecimal9Holder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(RepeatedVarDecimalHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getType
(VarDecimalHolder holder) static TypeProtos.MajorType
BasicTypeHelper.getValueHolderType
(ValueHolder holder) Modifier and TypeMethodDescriptionstatic LogicalExpression
ExpressionTreeMaterializer.addCastExpression
(LogicalExpression fromExpr, TypeProtos.MajorType toType, FunctionLookupContext functionLookupContext, ErrorCollector errorCollector) static LogicalExpression
ExpressionTreeMaterializer.addCastExpression
(LogicalExpression fromExpr, TypeProtos.MajorType toType, FunctionLookupContext functionLookupContext, ErrorCollector errorCollector, boolean exactResolver) protected static String
BasicTypeHelper.buildErrorMessage
(String operation, TypeProtos.MajorType type) static ValueHolder
BasicTypeHelper.createValueHolder
(TypeProtos.MajorType type) Create a ValueHolder of MajorType.ClassGenerator.declare
(TypeProtos.MajorType t) ClassGenerator.declare
(TypeProtos.MajorType t, boolean includeNewInstance) ClassGenerator.declare
(TypeProtos.MajorType t, String name, boolean includeNewInstance) Adds a local variable declaration based on given name and type.static FieldReader
BasicTypeHelper.getHolderReaderImpl
(TypeProtos.MajorType type, ValueHolder holder) com.sun.codemodel.JType
ClassGenerator.getHolderType
(TypeProtos.MajorType t) static ValueVector
BasicTypeHelper.getNewVector
(String name, BufferAllocator allocator, TypeProtos.MajorType type, CallBack callback) static ValueVector
BasicTypeHelper.getNewVector
(MaterializedField field, TypeProtos.MajorType type, BufferAllocator allocator, CallBack callBack) static int
BasicTypeHelper.getSize
(TypeProtos.MajorType major) static void
GetSetVectorHelper.read
(TypeProtos.MajorType type, com.sun.codemodel.JExpression vector, com.sun.codemodel.JBlock eval, ClassGenerator.HoldingContainer out, com.sun.codemodel.JCodeModel model, com.sun.codemodel.JExpression indexVariable) Generates the code to read a vector into a holder.static com.sun.codemodel.JInvocation
GetSetVectorHelper.write
(TypeProtos.MajorType type, com.sun.codemodel.JVar vector, ClassGenerator.HoldingContainer in, com.sun.codemodel.JExpression indexVariable, String setMethodName) ModifierConstructorDescriptionHoldingContainer
(TypeProtos.MajorType t, com.sun.codemodel.JVar holder, com.sun.codemodel.JFieldRef value, com.sun.codemodel.JFieldRef isSet) HoldingContainer
(TypeProtos.MajorType t, com.sun.codemodel.JVar holder, com.sun.codemodel.JFieldRef value, com.sun.codemodel.JFieldRef isSet, boolean singularRepeated, boolean isReader) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.expr.annotations
Modifier and TypeMethodDescriptionFunctionTemplate.ReturnType.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.expr.fn
Modifier and TypeMethodDescriptionWorkspaceReference.getMajorType()
DrillFuncHolder.getParamMajorType
(int i) HiveFuncHolder.getParamMajorType
(int i) DrillFuncHolder.getReturnType()
DrillFuncHolder.getReturnType
(List<LogicalExpression> logicalExpressions) HiveFuncHolder.getReturnType()
UDF return typeValueReference.getType()
Modifier and TypeMethodDescriptionFunctionImplementationRegistry.findExactMatchingDrillFunction
(String name, List<TypeProtos.MajorType> argTypes, TypeProtos.MajorType returnType) Finds the Drill function implementation that matches the name, arg types and return type.boolean
DrillFuncHolder.matches
(TypeProtos.MajorType returnType, List<TypeProtos.MajorType> argTypes) Modifier and TypeMethodDescriptionFunctionImplementationRegistry.findExactMatchingDrillFunction
(String name, List<TypeProtos.MajorType> argTypes, TypeProtos.MajorType returnType) Finds the Drill function implementation that matches the name, arg types and return type.boolean
DrillFuncHolder.matches
(TypeProtos.MajorType returnType, List<TypeProtos.MajorType> argTypes) ModifierConstructorDescriptionHiveFuncHolder
(Class<? extends org.apache.hadoop.hive.ql.udf.generic.GenericUDF> genericUdfClazz, TypeProtos.MajorType[] argTypes, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector returnOI, TypeProtos.MajorType returnType, boolean isRandom) Create holder for GenericUDFHiveFuncHolder
(String udfName, Class<? extends org.apache.hadoop.hive.ql.exec.UDF> udfClazz, TypeProtos.MajorType[] argTypes, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector returnOI, TypeProtos.MajorType returnType, boolean isRandom) Create holder for UDFValueReference
(TypeProtos.MajorType type, String name) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.expr.fn.output
Modifier and TypeMethodDescriptionConcatReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Defines function return type and sets precision if it can be calculated.DecimalReturnTypeInference.DecimalAddReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) This return type is used by add and subtract functions for decimal data type.DecimalReturnTypeInference.DecimalAggReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalAvgAggReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalCastReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalDivScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Return type is used by divide functions for decimal data type.DecimalReturnTypeInference.DecimalMaxScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalModScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Return type is used by divide functions for decimal data type.DecimalReturnTypeInference.DecimalSetScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalSumAggReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalSumScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) DecimalReturnTypeInference.DecimalZeroScaleReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Return type is used for functions where we need to remove the scale part.DefaultReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Calculates return type and its nullability.PadReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Defines function return type and sets precision if it pad length parameter is int expression.ReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) SameInOutLengthReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Defines function return type and sets precision and scale if input type has them.StringCastReturnTypeInference.getType
(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) Defines function return type and sets cast length as type precision if cast length is simple long expression. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.expr.holders
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
BigIntHolder.TYPE
static final TypeProtos.MajorType
BitHolder.TYPE
static final TypeProtos.MajorType
DateHolder.TYPE
static final TypeProtos.MajorType
Decimal18Holder.TYPE
Deprecated.static final TypeProtos.MajorType
Decimal28DenseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
Decimal28SparseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
Decimal38DenseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
Decimal38SparseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
Decimal9Holder.TYPE
Deprecated.static final TypeProtos.MajorType
DictHolder.TYPE
static final TypeProtos.MajorType
Float4Holder.TYPE
static final TypeProtos.MajorType
Float8Holder.TYPE
static final TypeProtos.MajorType
IntervalDayHolder.TYPE
static final TypeProtos.MajorType
IntervalHolder.TYPE
static final TypeProtos.MajorType
IntervalYearHolder.TYPE
static final TypeProtos.MajorType
IntHolder.TYPE
static final TypeProtos.MajorType
ListHolder.TYPE
static final TypeProtos.MajorType
MapHolder.TYPE
static final TypeProtos.MajorType
NullableBigIntHolder.TYPE
static final TypeProtos.MajorType
NullableBitHolder.TYPE
static final TypeProtos.MajorType
NullableDateHolder.TYPE
static final TypeProtos.MajorType
NullableDecimal18Holder.TYPE
Deprecated.static final TypeProtos.MajorType
NullableDecimal28DenseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
NullableDecimal28SparseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
NullableDecimal38DenseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
NullableDecimal38SparseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
NullableDecimal9Holder.TYPE
Deprecated.static final TypeProtos.MajorType
NullableFloat4Holder.TYPE
static final TypeProtos.MajorType
NullableFloat8Holder.TYPE
static final TypeProtos.MajorType
NullableIntervalDayHolder.TYPE
static final TypeProtos.MajorType
NullableIntervalHolder.TYPE
static final TypeProtos.MajorType
NullableIntervalYearHolder.TYPE
static final TypeProtos.MajorType
NullableIntHolder.TYPE
static final TypeProtos.MajorType
NullableSmallIntHolder.TYPE
static final TypeProtos.MajorType
NullableTimeHolder.TYPE
static final TypeProtos.MajorType
NullableTimeStampHolder.TYPE
static final TypeProtos.MajorType
NullableTinyIntHolder.TYPE
static final TypeProtos.MajorType
NullableUInt1Holder.TYPE
static final TypeProtos.MajorType
NullableUInt2Holder.TYPE
static final TypeProtos.MajorType
NullableUInt4Holder.TYPE
static final TypeProtos.MajorType
NullableUInt8Holder.TYPE
static final TypeProtos.MajorType
NullableVar16CharHolder.TYPE
static final TypeProtos.MajorType
NullableVarBinaryHolder.TYPE
static final TypeProtos.MajorType
NullableVarCharHolder.TYPE
static final TypeProtos.MajorType
NullableVarDecimalHolder.TYPE
Deprecated.static final TypeProtos.MajorType
ObjectHolder.TYPE
Deprecated.static final TypeProtos.MajorType
RepeatedBigIntHolder.TYPE
static final TypeProtos.MajorType
RepeatedBitHolder.TYPE
static final TypeProtos.MajorType
RepeatedDateHolder.TYPE
static final TypeProtos.MajorType
RepeatedDecimal18Holder.TYPE
Deprecated.static final TypeProtos.MajorType
RepeatedDecimal28DenseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
RepeatedDecimal28SparseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
RepeatedDecimal38DenseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
RepeatedDecimal38SparseHolder.TYPE
Deprecated.static final TypeProtos.MajorType
RepeatedDecimal9Holder.TYPE
Deprecated.static final TypeProtos.MajorType
RepeatedDictHolder.TYPE
static final TypeProtos.MajorType
RepeatedFloat4Holder.TYPE
static final TypeProtos.MajorType
RepeatedFloat8Holder.TYPE
static final TypeProtos.MajorType
RepeatedIntervalDayHolder.TYPE
static final TypeProtos.MajorType
RepeatedIntervalHolder.TYPE
static final TypeProtos.MajorType
RepeatedIntervalYearHolder.TYPE
static final TypeProtos.MajorType
RepeatedIntHolder.TYPE
static final TypeProtos.MajorType
RepeatedListHolder.TYPE
static final TypeProtos.MajorType
RepeatedMapHolder.TYPE
static final TypeProtos.MajorType
RepeatedSmallIntHolder.TYPE
static final TypeProtos.MajorType
RepeatedTimeHolder.TYPE
static final TypeProtos.MajorType
RepeatedTimeStampHolder.TYPE
static final TypeProtos.MajorType
RepeatedTinyIntHolder.TYPE
static final TypeProtos.MajorType
RepeatedUInt1Holder.TYPE
static final TypeProtos.MajorType
RepeatedUInt2Holder.TYPE
static final TypeProtos.MajorType
RepeatedUInt4Holder.TYPE
static final TypeProtos.MajorType
RepeatedUInt8Holder.TYPE
static final TypeProtos.MajorType
RepeatedVar16CharHolder.TYPE
static final TypeProtos.MajorType
RepeatedVarBinaryHolder.TYPE
static final TypeProtos.MajorType
RepeatedVarCharHolder.TYPE
static final TypeProtos.MajorType
RepeatedVarDecimalHolder.TYPE
Deprecated.static final TypeProtos.MajorType
SmallIntHolder.TYPE
static final TypeProtos.MajorType
TimeHolder.TYPE
static final TypeProtos.MajorType
TimeStampHolder.TYPE
static final TypeProtos.MajorType
TinyIntHolder.TYPE
static final TypeProtos.MajorType
UInt1Holder.TYPE
static final TypeProtos.MajorType
UInt2Holder.TYPE
static final TypeProtos.MajorType
UInt4Holder.TYPE
static final TypeProtos.MajorType
UInt8Holder.TYPE
static final TypeProtos.MajorType
UnionHolder.TYPE
static final TypeProtos.MajorType
Var16CharHolder.TYPE
static final TypeProtos.MajorType
VarBinaryHolder.TYPE
static final TypeProtos.MajorType
VarCharHolder.TYPE
static final TypeProtos.MajorType
VarDecimalHolder.TYPE
Deprecated. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.base
Modifier and TypeMethodDescriptionAbstractGroupScanWithMetadata.getTypeForColumn
(SchemaPath schemaPath) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.common
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.filter
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.project
Modifier and TypeMethodDescriptionstatic int
ProjectMemoryManager.getFixedWidth
(TypeProtos.MajorType majorType) boolean
ProjectMemoryManager.isComplex
(TypeProtos.MajorType majorType) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.scan.file
Modifier and TypeMethodDescriptionFileMetadataColumnDefn.dataType()
static TypeProtos.MajorType
PartitionColumn.dataType()
ModifierConstructorDescriptionMetadataColumn
(String name, TypeProtos.MajorType type, String value, VectorSource source, int sourceIndex) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.scan.project
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
NullColumnLoader.DEFAULT_NULL_TYPE
protected TypeProtos.MajorType
NullColumnBuilder.NullBuilderBuilder.nullType
final TypeProtos.MajorType
ScanSchemaOrchestrator.ScanSchemaOptions.nullType
Custom null type, if provided by the operator.Modifier and TypeMethodDescriptionNullColumnLoader.NullColumnSpec.type()
ResolvedNullColumn.type()
Modifier and TypeMethodDescriptionNullColumnBuilder.add
(String name, TypeProtos.MajorType type) void
ScanSchemaOrchestrator.ScanOrchestratorBuilder.nullType
(TypeProtos.MajorType nullType) Specify the type to use for null columns in place of the standard nullable int.NullColumnBuilder.NullBuilderBuilder.setNullType
(TypeProtos.MajorType nullType) void
NullColumnLoader.NullColumnSpec.setType
(TypeProtos.MajorType type) void
ResolvedNullColumn.setType
(TypeProtos.MajorType type) ModifierConstructorDescriptionNullColumnLoader
(ResultVectorCache vectorCache, List<? extends NullColumnLoader.NullColumnSpec> defns, TypeProtos.MajorType nullType, boolean allowRequired) ResolvedNullColumn
(String name, TypeProtos.MajorType type, String defaultValue, VectorSource source, int sourceIndex) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.scan.v3
Modifier and TypeMethodDescriptionvoid
ScanLifecycleBuilder.nullType
(TypeProtos.MajorType nullType) Specify the type to use for null columns in place of the standard nullable int. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.scan.v3.file
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
ImplicitColumnResolver.IMPLICIT_COL_TYPE
static final TypeProtos.MajorType
ImplicitColumnResolver.OPTIONAL_INTERNAL_COL_TYPE
static final TypeProtos.MajorType
ImplicitColumnResolver.PARTITION_COL_TYPE
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.scan.v3.lifecycle
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
MissingColumnHandlerBuilder.DEFAULT_NULL_TYPE
protected TypeProtos.MajorType
MissingColumnHandlerBuilder.nullType
Modifier and TypeMethodDescriptionMissingColumnHandlerBuilder.nullType
(TypeProtos.MajorType nullType) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.resultSet
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.resultSet.impl
Modifier and TypeMethodDescriptionprotected static TypeProtos.MajorType
SingleVectorState.parseVectorType
(ValueVector vector) The vector mechanism here relies on the vector metadata. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.planner
Modifier and TypeMethodDescriptionFileSystemPartitionDescriptor.getVectorType
(SchemaPath column, PlannerSettings plannerSettings) ParquetPartitionDescriptor.getVectorType
(SchemaPath column, PlannerSettings plannerSettings) PartitionDescriptor.getVectorType
(SchemaPath column, PlannerSettings plannerSettings) Method returns the Major type associated with the given column -
Uses of TypeProtos.MajorType in org.apache.drill.exec.planner.common
Modifier and TypeMethodDescriptionstatic Histogram
HistogramUtils.buildHistogramFromTDigest
(byte[] tdigest_bytearray, TypeProtos.MajorType type, int numBuckets, long nonNullCount) Build a histogram using the t-digest byte array.void
DrillStatsTable.ColumnStatistics_v1.setType
(TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.planner.sql
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
TypeInferenceUtils.UNKNOWN_TYPE
Modifier and TypeMethodDescriptionstatic TypeProtos.MajorType
TypeInferenceUtils.getDrillMajorTypeFromCalciteType
(org.apache.calcite.rel.type.RelDataType relDataType) ReturnsTypeProtos.MajorType
instance which corresponds to specifiedRelDataType relDataType
with its nullability, scale and precision if it is available.HivePartitionDescriptor.getVectorType
(SchemaPath column, PlannerSettings plannerSettings) Modifier and TypeMethodDescriptionstatic org.apache.calcite.rel.type.RelDataType
TypeInferenceUtils.convertToCalciteType
(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory, TypeProtos.MajorType drillType, boolean isNullable) Creates a RelDataType using specified RelDataTypeFactory which corresponds to specified TypeProtos.MajorType.ModifierConstructorDescriptionDrillSqlOperatorWithoutInference
(String name, int argCount, TypeProtos.MajorType returnType, boolean isDeterminisitic, boolean isNiladic, boolean isVarArg) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.planner.sql.handlers
Modifier and TypeFieldDescriptionfinal List<TypeProtos.MajorType>
FindLimit0Visitor.RelDataTypeReader.columnTypes
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.proto
Modifier and TypeMethodDescriptionUserBitShared.SerializedField.Builder.getMajorType()
the type associated with this field.UserBitShared.SerializedField.getMajorType()
the type associated with this field.UserBitShared.SerializedFieldOrBuilder.getMajorType()
the type associated with this field.Modifier and TypeMethodDescriptionUserBitShared.SerializedField.Builder.mergeMajorType
(TypeProtos.MajorType value) the type associated with this field.UserBitShared.SerializedField.Builder.setMajorType
(TypeProtos.MajorType value) the type associated with this field. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.record
Modifier and TypeMethodDescriptionMajorTypeSerDe.De.deserialize
(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) TypedFieldId.getFinalType()
TypedFieldId.getIntermediateType()
MajorTypeSerDe.MajorTypeHolder.getMajorType()
TypedFieldId.getSecondaryFinal()
MaterializedField.getType()
Modifier and TypeMethodDescription<T extends ValueVector>
TVectorAccessibleComplexWriter.addOrGet
(String name, TypeProtos.MajorType type, Class<T> clazz) <T extends ValueVector>
TVectorContainer.addOrGet
(String name, TypeProtos.MajorType type, Class<T> clazz) static MaterializedField
MaterializedField.create
(String name, TypeProtos.MajorType type) TypedFieldId.Builder.finalType
(TypeProtos.MajorType finalType) MajorTypeSerDe.MajorTypeHolder.get
(TypeProtos.MajorType mt) static int
RecordBatchSizer.getStdNetSizePerEntryCommon
(TypeProtos.MajorType majorType, boolean isOptional, boolean isRepeated, boolean isRepeatedList, Map<String, RecordBatchSizer.ColumnSize> children) TypedFieldId.Builder.intermediateType
(TypeProtos.MajorType intermediateType) void
MaterializedField.replaceType
(TypeProtos.MajorType newType) Replace the type with a new one that has the same minor type and mode, but with perhaps different details.TypedFieldId.Builder.secondaryFinal
(TypeProtos.MajorType secondaryFinal) void
MajorTypeSerDe.Se.serialize
(TypeProtos.MajorType value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) MaterializedField.withPathAndType
(String name, TypeProtos.MajorType type) MaterializedField.withType
(TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.record.metadata
Modifier and TypeMethodDescriptionAbstractColumnMetadata.majorType()
ColumnMetadata.majorType()
PrimitiveColumnMetadata.majorType()
Modifier and TypeMethodDescriptionMapBuilder.add
(String name, TypeProtos.MajorType type) SchemaBuilder.add
(String name, TypeProtos.MajorType type) void
TupleBuilder.add
(String name, TypeProtos.MajorType type) MapBuilder.addDict
(String name, TypeProtos.MajorType keyType) SchemaBuilder.addDict
(String name, TypeProtos.MajorType keyType) MapBuilder.addDictArray
(String name, TypeProtos.MajorType keyType) SchemaBuilder.addDictArray
(String name, TypeProtos.MajorType keyType) DictBuilder.key
(TypeProtos.MajorType type) Use this method to set types with width or scale and precision, e.g.static PrimitiveColumnMetadata
MetadataUtils.newScalar
(String name, TypeProtos.MajorType type) DictBuilder.value
(TypeProtos.MajorType type) Define non-complex value type.ModifierConstructorDescriptionAbstractColumnMetadata
(String name, TypeProtos.MajorType majorType) PrimitiveColumnMetadata
(String name, TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.resolver
Modifier and TypeMethodDescriptionstatic boolean
TypeCastRules.isCastableWithNullHandling
(TypeProtos.MajorType argumentType, TypeProtos.MajorType paramType, FunctionTemplate.NullHandling nullHandling) Modifier and TypeMethodDescriptionstatic float
TypeCastRules.getCost
(List<TypeProtos.MajorType> argumentTypes, DrillFuncHolder holder) Decide whether it's legal to do implicit cast. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.schema
ModifierConstructorDescriptionField
(RecordSchema parentSchema, TypeProtos.MajorType type, String prefixFieldName) NamedField
(RecordSchema parentSchema, String prefixFieldName, String fieldName, TypeProtos.MajorType fieldType) NamedField
(RecordSchema parentSchema, String prefixFieldName, String fieldName, TypeProtos.MajorType fieldType, TypeProtos.MajorType keyType) OrderedField
(RecordSchema parentSchema, TypeProtos.MajorType type, String prefixFieldName, int index) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.schema.json.jackson
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
JacksonHelper.ARRAY_TYPE
static final TypeProtos.MajorType
JacksonHelper.BOOLEAN_TYPE
static final TypeProtos.MajorType
JacksonHelper.FLOAT_TYPE
static final TypeProtos.MajorType
JacksonHelper.INT_TYPE
static final TypeProtos.MajorType
JacksonHelper.MAP_TYPE
static final TypeProtos.MajorType
JacksonHelper.NULL_TYPE
static final TypeProtos.MajorType
JacksonHelper.REPEATED_BOOLEAN_TYPE
static final TypeProtos.MajorType
JacksonHelper.REPEATED_FLOAT_TYPE
static final TypeProtos.MajorType
JacksonHelper.REPEATED_INT_TYPE
static final TypeProtos.MajorType
JacksonHelper.REPEATED_STRING_TYPE
static final TypeProtos.MajorType
JacksonHelper.STRING_TYPE
Modifier and TypeMethodDescriptionstatic TypeProtos.MajorType
JacksonHelper.getFieldType
(com.fasterxml.jackson.core.JsonToken token, boolean repeated) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.server.rest
Modifier and TypeMethodDescriptionprotected String
BaseWebUserConnection.webDataType
(TypeProtos.MajorType majorType) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.hbase
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
DrillHBaseConstants.COLUMN_FAMILY_TYPE
static final TypeProtos.MajorType
DrillHBaseConstants.COLUMN_TYPE
static final TypeProtos.MajorType
DrillHBaseConstants.ROW_KEY_TYPE
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.hive
Modifier and TypeMethodDescriptionstatic TypeProtos.MajorType
HiveUtilities.getMajorTypeFromHiveTypeInfo
(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo, OptionSet options) Obtains major type from given type info holder. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.ischema
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
InfoSchemaTable.BIGINT
static final TypeProtos.MajorType
InfoSchemaTable.BIT
static final TypeProtos.MajorType
InfoSchemaTable.FLOAT8
static final TypeProtos.MajorType
InfoSchemaTable.INT
static final TypeProtos.MajorType
InfoSchemaTable.TIMESTAMP
static final TypeProtos.MajorType
InfoSchemaTable.VARCHAR
Modifier and TypeMethodDescriptionstatic InfoSchemaTable.Field
InfoSchemaTable.Field.create
(String name, TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.mock
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.parquet
Modifier and TypeMethodDescriptionstatic TypeProtos.MajorType
ParquetReaderUtility.getType
(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.schema.OriginalType originalType, int precision, int scale) Builds major type using givenOriginalType originalType
orPrimitiveTypeName type
.ParquetGroupScanStatistics.getTypeForColumn
(SchemaPath schemaPath) Modifier and TypeMethodDescriptionstatic List<TypeProtos.MajorType>
ParquetReaderUtility.getComplexTypes
(List<org.apache.parquet.schema.OriginalType> originalTypes) Converts list ofOriginalType
s to list ofTypeProtos.MajorType
s.static Map<SchemaPath,
TypeProtos.MajorType> ParquetTableMetadataUtils.getFileFields
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, MetadataBase.ParquetFileMetadata file) Returns map of column names with their drill types for specifiedfile
.static Map<SchemaPath,
TypeProtos.MajorType> ParquetTableMetadataUtils.getIntermediateFields
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, MetadataBase.RowGroupMetadata rowGroup) Returns map of column names with their Drill types for everyNameSegment
inSchemaPath
in specifiedrowGroup
.static Map<SchemaPath,
TypeProtos.MajorType> ParquetTableMetadataUtils.getRowGroupFields
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, MetadataBase.RowGroupMetadata rowGroup) Returns map of column names with their drill types for specifiedrowGroup
. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.parquet.columnreaders
Modifier and TypeMethodDescriptionstatic TypeProtos.MajorType
ParquetToDrillTypeConverter.toMajorType
(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName primitiveTypeName, int length, TypeProtos.DataMode mode, org.apache.parquet.format.SchemaElement schemaElement, OptionManager options) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.pojo
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector
Modifier and TypeMethodDescriptionUntypedHolderReaderImpl.getType()
UntypedNullHolder.getType()
UntypedReaderImpl.getType()
VectorDescriptor.getType()
Modifier and TypeMethodDescriptionstatic VectorDescriptor
VectorDescriptor.create
(String name, TypeProtos.MajorType type) static VectorDescriptor
VectorDescriptor.create
(TypeProtos.MajorType type) ValueHolderHelper.getHolderParams
(TypeProtos.MajorType type) Returns list of field names which belong to holder corresponding to the specifiedTypeProtos.MajorType type
.VectorDescriptor.withType
(TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.accessor
Modifier and TypeMethodDescriptionBigIntAccessor.getType()
BitAccessor.getType()
BoundCheckingAccessor.getType()
DateAccessor.getType()
Decimal18Accessor.getType()
Decimal28DenseAccessor.getType()
Decimal28SparseAccessor.getType()
Decimal38DenseAccessor.getType()
Decimal38SparseAccessor.getType()
Decimal9Accessor.getType()
Float4Accessor.getType()
Float8Accessor.getType()
GenericAccessor.getType()
IntAccessor.getType()
IntervalAccessor.getType()
IntervalDayAccessor.getType()
IntervalYearAccessor.getType()
NullableBigIntAccessor.getType()
NullableBitAccessor.getType()
NullableDateAccessor.getType()
NullableDecimal18Accessor.getType()
NullableDecimal28DenseAccessor.getType()
NullableDecimal28SparseAccessor.getType()
NullableDecimal38DenseAccessor.getType()
NullableDecimal38SparseAccessor.getType()
NullableDecimal9Accessor.getType()
NullableFloat4Accessor.getType()
NullableFloat8Accessor.getType()
NullableIntAccessor.getType()
NullableIntervalAccessor.getType()
NullableIntervalDayAccessor.getType()
NullableIntervalYearAccessor.getType()
NullableSmallIntAccessor.getType()
NullableTimeAccessor.getType()
NullableTimeStampAccessor.getType()
NullableTinyIntAccessor.getType()
NullableUInt1Accessor.getType()
NullableUInt2Accessor.getType()
NullableUInt4Accessor.getType()
NullableUInt8Accessor.getType()
NullableVar16CharAccessor.getType()
NullableVarBinaryAccessor.getType()
NullableVarCharAccessor.getType()
NullableVarDecimalAccessor.getType()
SmallIntAccessor.getType()
SqlAccessor.getType()
Reports the (native) type of data accessed by this accessor.TimeAccessor.getType()
TimeStampAccessor.getType()
TinyIntAccessor.getType()
UInt1Accessor.getType()
UInt2Accessor.getType()
UInt4Accessor.getType()
UInt8Accessor.getType()
UnionSqlAccessor.getType()
Var16CharAccessor.getType()
VarBinaryAccessor.getType()
VarCharAccessor.getType()
VarDecimalAccessor.getType()
-
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.accessor.reader
Modifier and TypeFieldDescriptionprotected final TypeProtos.MajorType
VectorAccessors.BaseHyperVectorAccessor.type
Modifier and TypeMethodDescriptionVectorAccessor.type()
VectorAccessors.ArrayDataHyperVectorAccessor.type()
VectorAccessors.BaseHyperVectorAccessor.type()
VectorAccessors.NullableValuesHyperVectorAccessor.type()
VectorAccessors.NullVectorAccesor.type()
VectorAccessors.SingleVectorAccessor.type()
ModifierConstructorDescriptionListMemberHyperVectorAccessor
(VectorAccessor listAccessor, TypeProtos.MajorType memberType) MapMemberHyperVectorAccessor
(VectorAccessor va, int index, TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.complex
Modifier and TypeFieldDescriptionstatic final TypeProtos.MajorType
DictVector.TYPE
static final TypeProtos.MajorType
MapVector.TYPE
static final TypeProtos.MajorType
RepeatedDictVector.TYPE
static final TypeProtos.MajorType
RepeatedListVector.TYPE
static final TypeProtos.MajorType
RepeatedMapVector.TYPE
static final TypeProtos.MajorType[]
UnionVector.TYPES
Modifier and TypeMethodDescriptionabstract <T extends ValueVector>
TAbstractContainerVector.addOrGet
(String name, TypeProtos.MajorType type, Class<T> clazz) <T extends ValueVector>
TAbstractMapVector.addOrGet
(String name, TypeProtos.MajorType type, Class<T> clazz) Adds a new field with the given parameters or replaces the existing one and consequently returns the resultantValueVector
.<T extends ValueVector>
TRepeatedListVector.addOrGet
(String name, TypeProtos.MajorType type, Class<T> clazz) Deprecated.ModifierConstructorDescriptionDictVector
(MaterializedField field, BufferAllocator allocator, CallBack callBack, TypeProtos.MajorType keyType, TypeProtos.MajorType valueType) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.complex.impl
Modifier and TypeMethodDescriptionAbstractRepeatedMapReaderImpl.getType()
BigIntHolderReaderImpl.getType()
BigIntReaderImpl.getType()
BitHolderReaderImpl.getType()
BitReaderImpl.getType()
DateHolderReaderImpl.getType()
DateReaderImpl.getType()
Decimal18HolderReaderImpl.getType()
Decimal18ReaderImpl.getType()
Decimal28DenseHolderReaderImpl.getType()
Decimal28DenseReaderImpl.getType()
Decimal28SparseHolderReaderImpl.getType()
Decimal28SparseReaderImpl.getType()
Decimal38DenseHolderReaderImpl.getType()
Decimal38DenseReaderImpl.getType()
Decimal38SparseHolderReaderImpl.getType()
Decimal38SparseReaderImpl.getType()
Decimal9HolderReaderImpl.getType()
Decimal9ReaderImpl.getType()
Float4HolderReaderImpl.getType()
Float4ReaderImpl.getType()
Float8HolderReaderImpl.getType()
Float8ReaderImpl.getType()
IntervalDayHolderReaderImpl.getType()
IntervalDayReaderImpl.getType()
IntervalHolderReaderImpl.getType()
IntervalReaderImpl.getType()
IntervalYearHolderReaderImpl.getType()
IntervalYearReaderImpl.getType()
IntHolderReaderImpl.getType()
IntReaderImpl.getType()
NullableBigIntHolderReaderImpl.getType()
NullableBigIntReaderImpl.getType()
NullableBitHolderReaderImpl.getType()
NullableBitReaderImpl.getType()
NullableDateHolderReaderImpl.getType()
NullableDateReaderImpl.getType()
NullableDecimal18HolderReaderImpl.getType()
NullableDecimal18ReaderImpl.getType()
NullableDecimal28DenseHolderReaderImpl.getType()
NullableDecimal28DenseReaderImpl.getType()
NullableDecimal28SparseHolderReaderImpl.getType()
NullableDecimal28SparseReaderImpl.getType()
NullableDecimal38DenseHolderReaderImpl.getType()
NullableDecimal38DenseReaderImpl.getType()
NullableDecimal38SparseHolderReaderImpl.getType()
NullableDecimal38SparseReaderImpl.getType()
NullableDecimal9HolderReaderImpl.getType()
NullableDecimal9ReaderImpl.getType()
NullableFloat4HolderReaderImpl.getType()
NullableFloat4ReaderImpl.getType()
NullableFloat8HolderReaderImpl.getType()
NullableFloat8ReaderImpl.getType()
NullableIntervalDayHolderReaderImpl.getType()
NullableIntervalDayReaderImpl.getType()
NullableIntervalHolderReaderImpl.getType()
NullableIntervalReaderImpl.getType()
NullableIntervalYearHolderReaderImpl.getType()
NullableIntervalYearReaderImpl.getType()
NullableIntHolderReaderImpl.getType()
NullableIntReaderImpl.getType()
NullableSmallIntHolderReaderImpl.getType()
NullableSmallIntReaderImpl.getType()
NullableTimeHolderReaderImpl.getType()
NullableTimeReaderImpl.getType()
NullableTimeStampHolderReaderImpl.getType()
NullableTimeStampReaderImpl.getType()
NullableTinyIntHolderReaderImpl.getType()
NullableTinyIntReaderImpl.getType()
NullableUInt1HolderReaderImpl.getType()
NullableUInt1ReaderImpl.getType()
NullableUInt2HolderReaderImpl.getType()
NullableUInt2ReaderImpl.getType()
NullableUInt4HolderReaderImpl.getType()
NullableUInt4ReaderImpl.getType()
NullableUInt8HolderReaderImpl.getType()
NullableUInt8ReaderImpl.getType()
NullableVar16CharHolderReaderImpl.getType()
NullableVar16CharReaderImpl.getType()
NullableVarBinaryHolderReaderImpl.getType()
NullableVarBinaryReaderImpl.getType()
NullableVarCharHolderReaderImpl.getType()
NullableVarCharReaderImpl.getType()
NullableVarDecimalHolderReaderImpl.getType()
NullableVarDecimalReaderImpl.getType()
NullReader.getType()
RepeatedBigIntHolderReaderImpl.getType()
RepeatedBigIntReaderImpl.getType()
RepeatedBitHolderReaderImpl.getType()
RepeatedBitReaderImpl.getType()
RepeatedDateHolderReaderImpl.getType()
RepeatedDateReaderImpl.getType()
RepeatedDecimal18HolderReaderImpl.getType()
RepeatedDecimal18ReaderImpl.getType()
RepeatedDecimal28DenseHolderReaderImpl.getType()
RepeatedDecimal28DenseReaderImpl.getType()
RepeatedDecimal28SparseHolderReaderImpl.getType()
RepeatedDecimal28SparseReaderImpl.getType()
RepeatedDecimal38DenseHolderReaderImpl.getType()
RepeatedDecimal38DenseReaderImpl.getType()
RepeatedDecimal38SparseHolderReaderImpl.getType()
RepeatedDecimal38SparseReaderImpl.getType()
RepeatedDecimal9HolderReaderImpl.getType()
RepeatedDecimal9ReaderImpl.getType()
RepeatedDictReaderImpl.getType()
RepeatedFloat4HolderReaderImpl.getType()
RepeatedFloat4ReaderImpl.getType()
RepeatedFloat8HolderReaderImpl.getType()
RepeatedFloat8ReaderImpl.getType()
RepeatedIntervalDayHolderReaderImpl.getType()
RepeatedIntervalDayReaderImpl.getType()
RepeatedIntervalHolderReaderImpl.getType()
RepeatedIntervalReaderImpl.getType()
RepeatedIntervalYearHolderReaderImpl.getType()
RepeatedIntervalYearReaderImpl.getType()
RepeatedIntHolderReaderImpl.getType()
RepeatedIntReaderImpl.getType()
RepeatedListReaderImpl.getType()
RepeatedSmallIntHolderReaderImpl.getType()
RepeatedSmallIntReaderImpl.getType()
RepeatedTimeHolderReaderImpl.getType()
RepeatedTimeReaderImpl.getType()
RepeatedTimeStampHolderReaderImpl.getType()
RepeatedTimeStampReaderImpl.getType()
RepeatedTinyIntHolderReaderImpl.getType()
RepeatedTinyIntReaderImpl.getType()
RepeatedUInt1HolderReaderImpl.getType()
RepeatedUInt1ReaderImpl.getType()
RepeatedUInt2HolderReaderImpl.getType()
RepeatedUInt2ReaderImpl.getType()
RepeatedUInt4HolderReaderImpl.getType()
RepeatedUInt4ReaderImpl.getType()
RepeatedUInt8HolderReaderImpl.getType()
RepeatedUInt8ReaderImpl.getType()
RepeatedVar16CharHolderReaderImpl.getType()
RepeatedVar16CharReaderImpl.getType()
RepeatedVarBinaryHolderReaderImpl.getType()
RepeatedVarBinaryReaderImpl.getType()
RepeatedVarCharHolderReaderImpl.getType()
RepeatedVarCharReaderImpl.getType()
RepeatedVarDecimalHolderReaderImpl.getType()
RepeatedVarDecimalReaderImpl.getType()
SingleLikeRepeatedMapReaderImpl.getType()
SingleListReaderImpl.getType()
SingleMapReaderImpl.getType()
SmallIntHolderReaderImpl.getType()
SmallIntReaderImpl.getType()
TimeHolderReaderImpl.getType()
TimeReaderImpl.getType()
TimeStampHolderReaderImpl.getType()
TimeStampReaderImpl.getType()
TinyIntHolderReaderImpl.getType()
TinyIntReaderImpl.getType()
UInt1HolderReaderImpl.getType()
UInt1ReaderImpl.getType()
UInt2HolderReaderImpl.getType()
UInt2ReaderImpl.getType()
UInt4HolderReaderImpl.getType()
UInt4ReaderImpl.getType()
UInt8HolderReaderImpl.getType()
UInt8ReaderImpl.getType()
UnionListReader.getType()
UnionReader.getType()
Var16CharHolderReaderImpl.getType()
Var16CharReaderImpl.getType()
VarBinaryHolderReaderImpl.getType()
VarBinaryReaderImpl.getType()
VarCharHolderReaderImpl.getType()
VarCharReaderImpl.getType()
VarDecimalHolderReaderImpl.getType()
VarDecimalReaderImpl.getType()
Modifier and TypeMethodDescriptionstatic FieldWriter
ComplexCopier.getListWriterForType
(TypeProtos.MajorType type, BaseWriter.ListWriter writer) static FieldWriter
ComplexCopier.getMapWriterForType
(TypeProtos.MajorType type, BaseWriter.MapWriter writer, String name) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.complex.reader
-
Uses of TypeProtos.MajorType in org.apache.drill.metastore.util
Modifier and TypeMethodDescriptionstatic void
SchemaPathUtils.addColumnMetadata
(TupleMetadata schema, SchemaPath schemaPath, TypeProtos.MajorType type, Map<SchemaPath, TypeProtos.MajorType> types) Adds column with specified schema path and type into specifiedTupleMetadata schema
.Modifier and TypeMethodDescriptionstatic void
SchemaPathUtils.addColumnMetadata
(TupleMetadata schema, SchemaPath schemaPath, TypeProtos.MajorType type, Map<SchemaPath, TypeProtos.MajorType> types) Adds column with specified schema path and type into specifiedTupleMetadata schema
.
RepeatedListVector.addOrGetVector(org.apache.drill.exec.vector.VectorDescriptor)
instead.