Uses of Class
org.apache.drill.common.types.TypeProtos.MajorType
Packages that use 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
Fields in org.apache.drill.common.expression declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionprotected final TypeProtos.MajorTypePathSegment.originalValueTypeIndicates the type of original value.final TypeProtos.MajorTypeIfExpression.outputTypeOutputTypeDeterminer.FixedType.outputTypeMethods in org.apache.drill.common.expression that return TypeProtos.MajorTypeModifier 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) Methods in org.apache.drill.common.expression with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionvoidErrorCollector.addNonNumericType(ExpressionPosition expr, TypeProtos.MajorType actual) voidErrorCollectorImpl.addNonNumericType(ExpressionPosition expr, TypeProtos.MajorType actual) voidErrorCollector.addUnexpectedArgumentType(ExpressionPosition expr, String name, TypeProtos.MajorType actual, TypeProtos.MajorType[] expected, int argumentIndex) voidErrorCollectorImpl.addUnexpectedArgumentType(ExpressionPosition expr, String name, TypeProtos.MajorType actual, TypeProtos.MajorType[] expected, int argumentIndex) voidErrorCollector.addUnexpectedType(ExpressionPosition expr, int index, TypeProtos.MajorType actual) voidErrorCollectorImpl.addUnexpectedType(ExpressionPosition expr, int index, TypeProtos.MajorType actual) static LogicalExpressionFunctionCallFactory.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 LogicalExpressionValueExpressions.getParameterExpression(String name, TypeProtos.MajorType type) IfExpression.Builder.setOutputType(TypeProtos.MajorType outputType) Constructors in org.apache.drill.common.expression with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionArraySegment(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) protectedParameterExpression(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
Methods in org.apache.drill.common.expression.fn that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionFuncHolder.getParamMajorType(int i) Drill SQL type of an input parameter. -
Uses of TypeProtos.MajorType in org.apache.drill.common.expression.parser
Fields in org.apache.drill.common.expression.parser declared as TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.common.types
Fields in org.apache.drill.common.types declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeTypes.LATE_BIND_TYPEstatic final TypeProtos.MajorTypeTypes.NULLstatic final TypeProtos.MajorTypeTypes.OPTIONAL_BITstatic final TypeProtos.MajorTypeTypes.OPTIONAL_INTstatic final TypeProtos.MajorTypeTypes.REQUIRED_BITFields in org.apache.drill.common.types with type parameters of type TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final com.google.protobuf.Parser<TypeProtos.MajorType> TypeProtos.MajorType.PARSERDeprecated.Methods in org.apache.drill.common.types that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionTypeProtos.MajorType.Builder.build()TypeProtos.MajorType.Builder.buildPartial()static TypeProtos.MajorTypeTypeProtos.MajorType.getDefaultInstance()TypeProtos.MajorType.Builder.getDefaultInstanceForType()TypeProtos.MajorType.getDefaultInstanceForType()static TypeProtos.MajorTypeTypes.getMajorTypeFromName(String typeName) static TypeProtos.MajorTypeTypes.getMajorTypeFromName(String typeName, TypeProtos.DataMode mode) SchemaTypeProtos.MajorType.MessageSchema.newMessage()static TypeProtos.MajorTypeTypes.optional(TypeProtos.MinorType type) static TypeProtos.MajorTypeTypes.overrideMode(TypeProtos.MajorType originalMajorType, TypeProtos.DataMode overrideMode) static TypeProtos.MajorTypeTypeProtos.MajorType.parseDelimitedFrom(InputStream input) static TypeProtos.MajorTypeTypeProtos.MajorType.parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(byte[] data) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(com.google.protobuf.ByteString data) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(com.google.protobuf.CodedInputStream input) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(InputStream input) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(ByteBuffer data) static TypeProtos.MajorTypeTypeProtos.MajorType.parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TypeProtos.MajorTypeTypes.repeated(TypeProtos.MinorType type) static TypeProtos.MajorTypeTypes.required(TypeProtos.MinorType type) static TypeProtos.MajorTypeTypes.withMode(TypeProtos.MinorType type, TypeProtos.DataMode mode) static TypeProtos.MajorTypeTypes.withPrecision(TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision) Builds major type using given minor type, data mode and precision.static TypeProtos.MajorTypeTypes.withPrecisionAndScale(TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision, int scale) Methods in org.apache.drill.common.types that return types with arguments of type TypeProtos.MajorTypeModifier and TypeMethodDescriptioncom.google.protobuf.Parser<TypeProtos.MajorType> TypeProtos.MajorType.getParserForType()static com.google.protobuf.Parser<TypeProtos.MajorType> TypeProtos.MajorType.parser()SchemaTypeProtos.MajorType.MessageSchema.typeClass()Methods in org.apache.drill.common.types with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MajorType.BuilderTypes.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 StringTypes.getBaseSqlTypeName(TypeProtos.MajorType type) static StringTypes.getExtendedSqlTypeName(TypeProtos.MajorType type) Extend decimal type with precision and scale.static intTypes.getJdbcDisplaySize(TypeProtos.MajorType type) static intTypes.getPrecision(TypeProtos.MajorType majorType) Get theprecisionof given type.static intTypes.getScale(TypeProtos.MajorType majorType) Get thescaleof given type.static StringTypes.getSqlModeName(TypeProtos.MajorType type) static StringTypes.getSqlTypeName(TypeProtos.MajorType type) Gets SQL data type name for given Drill RPC-/protobuf-level data type.static booleanTypes.isComplex(TypeProtos.MajorType type) static booleanTypes.isDateTimeType(TypeProtos.MajorType type) static booleanTypes.isDecimalType(TypeProtos.MajorType type) Returns true if specified type is decimal data type.static booleanTypes.isEquivalent(TypeProtos.MajorType type1, TypeProtos.MajorType type2) Requires full type equality, including fields such as precision and scale.static booleanTypes.isFixedWidthType(TypeProtos.MajorType type) booleanSchemaTypeProtos.MajorType.MessageSchema.isInitialized(TypeProtos.MajorType message) static booleanTypes.isIntervalType(TypeProtos.MajorType type) static booleanTypes.isJdbcSignedType(TypeProtos.MajorType type) Reports whether given RPC-level type is a signed type (per semantics ofResultSetMetaData.isSigned(int)).static booleanTypes.isNullable(TypeProtos.MajorType type) static booleanTypes.isNumericType(TypeProtos.MajorType type) static booleanTypes.isRepeated(TypeProtos.MajorType type) static booleanTypes.isSameType(TypeProtos.MajorType type1, TypeProtos.MajorType type2) Check if two "core" types are the same, ignoring subtypes and children.static booleanTypes.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 booleanTypes.isScalarStringType(TypeProtos.MajorType type) Checks if given major type is string scalar type.static booleanTypes.isUnion(TypeProtos.MajorType toType) static booleanTypes.isUntypedNull(TypeProtos.MajorType type) voidSchemaTypeProtos.MajorType.MessageSchema.mergeFrom(io.protostuff.Input input, TypeProtos.MajorType message) TypeProtos.MajorType.Builder.mergeFrom(TypeProtos.MajorType other) static TypeProtos.MajorType.BuilderTypeProtos.MajorType.newBuilder(TypeProtos.MajorType prototype) static TypeProtos.MajorTypeTypes.overrideMode(TypeProtos.MajorType originalMajorType, TypeProtos.DataMode overrideMode) static booleanTypes.softEquals(TypeProtos.MajorType a, TypeProtos.MajorType b, boolean allowNullSwap) static StringTypes.toString(TypeProtos.MajorType type) static booleanTypes.usesHolderForGet(TypeProtos.MajorType type) voidSchemaTypeProtos.MajorType.MessageSchema.writeTo(io.protostuff.Output output, TypeProtos.MajorType message) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.expr
Methods in org.apache.drill.exec.expr that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionClassGenerator.HoldingContainer.getMajorType()DrillFuncHolderExpr.getMajorType()HiveFuncHolderExpr.getMajorType()HoldingContainerExpression.getMajorType()ValueVectorReadExpression.getMajorType()ValueVectorWriteExpression.getMajorType()static TypeProtos.MajorTypeBasicTypeHelper.getType(Decimal18Holder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(Decimal28DenseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(Decimal28SparseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(Decimal38DenseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(Decimal38SparseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(Decimal9Holder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(NullableDecimal18Holder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(NullableDecimal28DenseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(NullableDecimal28SparseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(NullableDecimal38DenseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(NullableDecimal38SparseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(NullableDecimal9Holder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(NullableVarDecimalHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(RepeatedDecimal18Holder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(RepeatedDecimal28DenseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(RepeatedDecimal28SparseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(RepeatedDecimal38DenseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(RepeatedDecimal38SparseHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(RepeatedDecimal9Holder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(RepeatedVarDecimalHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getType(VarDecimalHolder holder) static TypeProtos.MajorTypeBasicTypeHelper.getValueHolderType(ValueHolder holder) Methods in org.apache.drill.exec.expr with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic LogicalExpressionExpressionTreeMaterializer.addCastExpression(LogicalExpression fromExpr, TypeProtos.MajorType toType, FunctionLookupContext functionLookupContext, ErrorCollector errorCollector) static LogicalExpressionExpressionTreeMaterializer.addCastExpression(LogicalExpression fromExpr, TypeProtos.MajorType toType, FunctionLookupContext functionLookupContext, ErrorCollector errorCollector, boolean exactResolver) protected static StringBasicTypeHelper.buildErrorMessage(String operation, TypeProtos.MajorType type) static ValueHolderBasicTypeHelper.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 FieldReaderBasicTypeHelper.getHolderReaderImpl(TypeProtos.MajorType type, ValueHolder holder) com.sun.codemodel.JTypeClassGenerator.getHolderType(TypeProtos.MajorType t) static ValueVectorBasicTypeHelper.getNewVector(String name, BufferAllocator allocator, TypeProtos.MajorType type, CallBack callback) static ValueVectorBasicTypeHelper.getNewVector(MaterializedField field, TypeProtos.MajorType type, BufferAllocator allocator, CallBack callBack) static intBasicTypeHelper.getSize(TypeProtos.MajorType major) static voidGetSetVectorHelper.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.JInvocationGetSetVectorHelper.write(TypeProtos.MajorType type, com.sun.codemodel.JVar vector, ClassGenerator.HoldingContainer in, com.sun.codemodel.JExpression indexVariable, String setMethodName) Constructors in org.apache.drill.exec.expr with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionHoldingContainer(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
Methods in org.apache.drill.exec.expr.annotations that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionFunctionTemplate.ReturnType.getType(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.expr.fn
Methods in org.apache.drill.exec.expr.fn that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionWorkspaceReference.getMajorType()DrillFuncHolder.getParamMajorType(int i) HiveFuncHolder.getParamMajorType(int i) DrillFuncHolder.getReturnType()DrillFuncHolder.getReturnType(List<LogicalExpression> logicalExpressions) HiveFuncHolder.getReturnType()UDF return typeValueReference.getType()Methods in org.apache.drill.exec.expr.fn with parameters of type TypeProtos.MajorTypeModifier 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.booleanDrillFuncHolder.matches(TypeProtos.MajorType returnType, List<TypeProtos.MajorType> argTypes) Method parameters in org.apache.drill.exec.expr.fn with type arguments of type TypeProtos.MajorTypeModifier 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.booleanDrillFuncHolder.matches(TypeProtos.MajorType returnType, List<TypeProtos.MajorType> argTypes) Constructors in org.apache.drill.exec.expr.fn with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionHiveFuncHolder(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
Methods in org.apache.drill.exec.expr.fn.output that return TypeProtos.MajorTypeModifier 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
Fields in org.apache.drill.exec.expr.holders declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeBigIntHolder.TYPEstatic final TypeProtos.MajorTypeBitHolder.TYPEstatic final TypeProtos.MajorTypeDateHolder.TYPEstatic final TypeProtos.MajorTypeDecimal18Holder.TYPEDeprecated.static final TypeProtos.MajorTypeDecimal28DenseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeDecimal28SparseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeDecimal38DenseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeDecimal38SparseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeDecimal9Holder.TYPEDeprecated.static final TypeProtos.MajorTypeDictHolder.TYPEstatic final TypeProtos.MajorTypeFloat4Holder.TYPEstatic final TypeProtos.MajorTypeFloat8Holder.TYPEstatic final TypeProtos.MajorTypeIntervalDayHolder.TYPEstatic final TypeProtos.MajorTypeIntervalHolder.TYPEstatic final TypeProtos.MajorTypeIntervalYearHolder.TYPEstatic final TypeProtos.MajorTypeIntHolder.TYPEstatic final TypeProtos.MajorTypeListHolder.TYPEstatic final TypeProtos.MajorTypeMapHolder.TYPEstatic final TypeProtos.MajorTypeNullableBigIntHolder.TYPEstatic final TypeProtos.MajorTypeNullableBitHolder.TYPEstatic final TypeProtos.MajorTypeNullableDateHolder.TYPEstatic final TypeProtos.MajorTypeNullableDecimal18Holder.TYPEDeprecated.static final TypeProtos.MajorTypeNullableDecimal28DenseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeNullableDecimal28SparseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeNullableDecimal38DenseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeNullableDecimal38SparseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeNullableDecimal9Holder.TYPEDeprecated.static final TypeProtos.MajorTypeNullableFloat4Holder.TYPEstatic final TypeProtos.MajorTypeNullableFloat8Holder.TYPEstatic final TypeProtos.MajorTypeNullableIntervalDayHolder.TYPEstatic final TypeProtos.MajorTypeNullableIntervalHolder.TYPEstatic final TypeProtos.MajorTypeNullableIntervalYearHolder.TYPEstatic final TypeProtos.MajorTypeNullableIntHolder.TYPEstatic final TypeProtos.MajorTypeNullableSmallIntHolder.TYPEstatic final TypeProtos.MajorTypeNullableTimeHolder.TYPEstatic final TypeProtos.MajorTypeNullableTimeStampHolder.TYPEstatic final TypeProtos.MajorTypeNullableTinyIntHolder.TYPEstatic final TypeProtos.MajorTypeNullableUInt1Holder.TYPEstatic final TypeProtos.MajorTypeNullableUInt2Holder.TYPEstatic final TypeProtos.MajorTypeNullableUInt4Holder.TYPEstatic final TypeProtos.MajorTypeNullableUInt8Holder.TYPEstatic final TypeProtos.MajorTypeNullableVar16CharHolder.TYPEstatic final TypeProtos.MajorTypeNullableVarBinaryHolder.TYPEstatic final TypeProtos.MajorTypeNullableVarCharHolder.TYPEstatic final TypeProtos.MajorTypeNullableVarDecimalHolder.TYPEDeprecated.static final TypeProtos.MajorTypeObjectHolder.TYPEDeprecated.static final TypeProtos.MajorTypeRepeatedBigIntHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedBitHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedDateHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedDecimal18Holder.TYPEDeprecated.static final TypeProtos.MajorTypeRepeatedDecimal28DenseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeRepeatedDecimal28SparseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeRepeatedDecimal38DenseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeRepeatedDecimal38SparseHolder.TYPEDeprecated.static final TypeProtos.MajorTypeRepeatedDecimal9Holder.TYPEDeprecated.static final TypeProtos.MajorTypeRepeatedDictHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedFloat4Holder.TYPEstatic final TypeProtos.MajorTypeRepeatedFloat8Holder.TYPEstatic final TypeProtos.MajorTypeRepeatedIntervalDayHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedIntervalHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedIntervalYearHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedIntHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedListHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedMapHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedSmallIntHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedTimeHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedTimeStampHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedTinyIntHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedUInt1Holder.TYPEstatic final TypeProtos.MajorTypeRepeatedUInt2Holder.TYPEstatic final TypeProtos.MajorTypeRepeatedUInt4Holder.TYPEstatic final TypeProtos.MajorTypeRepeatedUInt8Holder.TYPEstatic final TypeProtos.MajorTypeRepeatedVar16CharHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedVarBinaryHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedVarCharHolder.TYPEstatic final TypeProtos.MajorTypeRepeatedVarDecimalHolder.TYPEDeprecated.static final TypeProtos.MajorTypeSmallIntHolder.TYPEstatic final TypeProtos.MajorTypeTimeHolder.TYPEstatic final TypeProtos.MajorTypeTimeStampHolder.TYPEstatic final TypeProtos.MajorTypeTinyIntHolder.TYPEstatic final TypeProtos.MajorTypeUInt1Holder.TYPEstatic final TypeProtos.MajorTypeUInt2Holder.TYPEstatic final TypeProtos.MajorTypeUInt4Holder.TYPEstatic final TypeProtos.MajorTypeUInt8Holder.TYPEstatic final TypeProtos.MajorTypeUnionHolder.TYPEstatic final TypeProtos.MajorTypeVar16CharHolder.TYPEstatic final TypeProtos.MajorTypeVarBinaryHolder.TYPEstatic final TypeProtos.MajorTypeVarCharHolder.TYPEstatic final TypeProtos.MajorTypeVarDecimalHolder.TYPEDeprecated.Methods in org.apache.drill.exec.expr.holders that return TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.base
Methods in org.apache.drill.exec.physical.base that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionAbstractGroupScanWithMetadata.getTypeForColumn(SchemaPath schemaPath) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.common
Fields in org.apache.drill.exec.physical.impl.common declared as TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.filter
Methods in org.apache.drill.exec.physical.impl.filter that return TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.project
Methods in org.apache.drill.exec.physical.impl.project with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic intProjectMemoryManager.getFixedWidth(TypeProtos.MajorType majorType) booleanProjectMemoryManager.isComplex(TypeProtos.MajorType majorType) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.scan.file
Methods in org.apache.drill.exec.physical.impl.scan.file that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionFileMetadataColumnDefn.dataType()static TypeProtos.MajorTypePartitionColumn.dataType()Constructors in org.apache.drill.exec.physical.impl.scan.file with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionMetadataColumn(String name, TypeProtos.MajorType type, String value, VectorSource source, int sourceIndex) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.scan.project
Fields in org.apache.drill.exec.physical.impl.scan.project declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeNullColumnLoader.DEFAULT_NULL_TYPEprotected TypeProtos.MajorTypeNullColumnBuilder.NullBuilderBuilder.nullTypefinal TypeProtos.MajorTypeScanSchemaOrchestrator.ScanSchemaOptions.nullTypeCustom null type, if provided by the operator.Methods in org.apache.drill.exec.physical.impl.scan.project that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionNullColumnLoader.NullColumnSpec.type()ResolvedNullColumn.type()Methods in org.apache.drill.exec.physical.impl.scan.project with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionNullColumnBuilder.add(String name, TypeProtos.MajorType type) voidScanSchemaOrchestrator.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) voidNullColumnLoader.NullColumnSpec.setType(TypeProtos.MajorType type) voidResolvedNullColumn.setType(TypeProtos.MajorType type) Constructors in org.apache.drill.exec.physical.impl.scan.project with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionNullColumnLoader(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
Fields in org.apache.drill.exec.physical.impl.scan.v3 declared as TypeProtos.MajorTypeMethods in org.apache.drill.exec.physical.impl.scan.v3 that return TypeProtos.MajorTypeMethods in org.apache.drill.exec.physical.impl.scan.v3 with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionvoidScanLifecycleBuilder.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
Fields in org.apache.drill.exec.physical.impl.scan.v3.file declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeImplicitColumnResolver.IMPLICIT_COL_TYPEstatic final TypeProtos.MajorTypeImplicitColumnResolver.OPTIONAL_INTERNAL_COL_TYPEstatic final TypeProtos.MajorTypeImplicitColumnResolver.PARTITION_COL_TYPE -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.impl.scan.v3.lifecycle
Fields in org.apache.drill.exec.physical.impl.scan.v3.lifecycle declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeMissingColumnHandlerBuilder.DEFAULT_NULL_TYPEprotected TypeProtos.MajorTypeMissingColumnHandlerBuilder.nullTypeMethods in org.apache.drill.exec.physical.impl.scan.v3.lifecycle with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionMissingColumnHandlerBuilder.nullType(TypeProtos.MajorType nullType) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.resultSet
Methods in org.apache.drill.exec.physical.resultSet that return TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.exec.physical.resultSet.impl
Methods in org.apache.drill.exec.physical.resultSet.impl that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionprotected static TypeProtos.MajorTypeSingleVectorState.parseVectorType(ValueVector vector) The vector mechanism here relies on the vector metadata. -
Uses of TypeProtos.MajorType in org.apache.drill.exec.planner
Methods in org.apache.drill.exec.planner that return TypeProtos.MajorTypeModifier 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
Methods in org.apache.drill.exec.planner.common that return TypeProtos.MajorTypeMethods in org.apache.drill.exec.planner.common with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic HistogramHistogramUtils.buildHistogramFromTDigest(byte[] tdigest_bytearray, TypeProtos.MajorType type, int numBuckets, long nonNullCount) Build a histogram using the t-digest byte array.voidDrillStatsTable.ColumnStatistics_v1.setType(TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.planner.sql
Fields in org.apache.drill.exec.planner.sql declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeTypeInferenceUtils.UNKNOWN_TYPEMethods in org.apache.drill.exec.planner.sql that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MajorTypeTypeInferenceUtils.getDrillMajorTypeFromCalciteType(org.apache.calcite.rel.type.RelDataType relDataType) ReturnsTypeProtos.MajorTypeinstance which corresponds to specifiedRelDataType relDataTypewith its nullability, scale and precision if it is available.HivePartitionDescriptor.getVectorType(SchemaPath column, PlannerSettings plannerSettings) Methods in org.apache.drill.exec.planner.sql with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic org.apache.calcite.rel.type.RelDataTypeTypeInferenceUtils.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.Constructors in org.apache.drill.exec.planner.sql with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionDrillSqlOperatorWithoutInference(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
Fields in org.apache.drill.exec.planner.sql.handlers with type parameters of type TypeProtos.MajorTypeModifier and TypeFieldDescriptionfinal List<TypeProtos.MajorType> FindLimit0Visitor.RelDataTypeReader.columnTypes -
Uses of TypeProtos.MajorType in org.apache.drill.exec.proto
Methods in org.apache.drill.exec.proto that return TypeProtos.MajorTypeModifier 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.Methods in org.apache.drill.exec.proto with parameters of type TypeProtos.MajorTypeModifier 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
Methods in org.apache.drill.exec.record that return TypeProtos.MajorTypeModifier 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()Methods in org.apache.drill.exec.record with parameters of type TypeProtos.MajorTypeModifier 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 MaterializedFieldMaterializedField.create(String name, TypeProtos.MajorType type) TypedFieldId.Builder.finalType(TypeProtos.MajorType finalType) MajorTypeSerDe.MajorTypeHolder.get(TypeProtos.MajorType mt) static intRecordBatchSizer.getStdNetSizePerEntryCommon(TypeProtos.MajorType majorType, boolean isOptional, boolean isRepeated, boolean isRepeatedList, Map<String, RecordBatchSizer.ColumnSize> children) TypedFieldId.Builder.intermediateType(TypeProtos.MajorType intermediateType) voidMaterializedField.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) voidMajorTypeSerDe.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
Methods in org.apache.drill.exec.record.metadata that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionAbstractColumnMetadata.majorType()ColumnMetadata.majorType()PrimitiveColumnMetadata.majorType()Methods in org.apache.drill.exec.record.metadata with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionMapBuilder.add(String name, TypeProtos.MajorType type) SchemaBuilder.add(String name, TypeProtos.MajorType type) voidTupleBuilder.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 PrimitiveColumnMetadataMetadataUtils.newScalar(String name, TypeProtos.MajorType type) DictBuilder.value(TypeProtos.MajorType type) Define non-complex value type.Constructors in org.apache.drill.exec.record.metadata with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionAbstractColumnMetadata(String name, TypeProtos.MajorType majorType) PrimitiveColumnMetadata(String name, TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.resolver
Methods in org.apache.drill.exec.resolver with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic booleanTypeCastRules.isCastableWithNullHandling(TypeProtos.MajorType argumentType, TypeProtos.MajorType paramType, FunctionTemplate.NullHandling nullHandling) Method parameters in org.apache.drill.exec.resolver with type arguments of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic floatTypeCastRules.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
Methods in org.apache.drill.exec.schema that return TypeProtos.MajorTypeMethods in org.apache.drill.exec.schema with parameters of type TypeProtos.MajorTypeConstructors in org.apache.drill.exec.schema with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionField(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
Fields in org.apache.drill.exec.schema.json.jackson declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeJacksonHelper.ARRAY_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.BOOLEAN_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.FLOAT_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.INT_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.MAP_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.NULL_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.REPEATED_BOOLEAN_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.REPEATED_FLOAT_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.REPEATED_INT_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.REPEATED_STRING_TYPEstatic final TypeProtos.MajorTypeJacksonHelper.STRING_TYPEMethods in org.apache.drill.exec.schema.json.jackson that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MajorTypeJacksonHelper.getFieldType(com.fasterxml.jackson.core.JsonToken token, boolean repeated) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.server.rest
Methods in org.apache.drill.exec.server.rest with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionprotected StringBaseWebUserConnection.webDataType(TypeProtos.MajorType majorType) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.hbase
Fields in org.apache.drill.exec.store.hbase declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeDrillHBaseConstants.COLUMN_FAMILY_TYPEstatic final TypeProtos.MajorTypeDrillHBaseConstants.COLUMN_TYPEstatic final TypeProtos.MajorTypeDrillHBaseConstants.ROW_KEY_TYPE -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.hive
Methods in org.apache.drill.exec.store.hive that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MajorTypeHiveUtilities.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
Fields in org.apache.drill.exec.store.ischema declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeInfoSchemaTable.BIGINTstatic final TypeProtos.MajorTypeInfoSchemaTable.BITstatic final TypeProtos.MajorTypeInfoSchemaTable.FLOAT8static final TypeProtos.MajorTypeInfoSchemaTable.INTstatic final TypeProtos.MajorTypeInfoSchemaTable.TIMESTAMPstatic final TypeProtos.MajorTypeInfoSchemaTable.VARCHARMethods in org.apache.drill.exec.store.ischema that return TypeProtos.MajorTypeMethods in org.apache.drill.exec.store.ischema with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic InfoSchemaTable.FieldInfoSchemaTable.Field.create(String name, TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.mock
Methods in org.apache.drill.exec.store.mock that return TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.exec.store.parquet
Methods in org.apache.drill.exec.store.parquet that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MajorTypeParquetReaderUtility.getType(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.schema.OriginalType originalType, int precision, int scale) Builds major type using givenOriginalType originalTypeorPrimitiveTypeName type.ParquetGroupScanStatistics.getTypeForColumn(SchemaPath schemaPath) Methods in org.apache.drill.exec.store.parquet that return types with arguments of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic List<TypeProtos.MajorType> ParquetReaderUtility.getComplexTypes(List<org.apache.parquet.schema.OriginalType> originalTypes) Converts list ofOriginalTypes to list ofTypeProtos.MajorTypes.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 everyNameSegmentinSchemaPathin 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
Methods in org.apache.drill.exec.store.parquet.columnreaders that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MajorTypeParquetToDrillTypeConverter.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
Constructors in org.apache.drill.exec.store.pojo with parameters of type TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector
Fields in org.apache.drill.exec.vector declared as TypeProtos.MajorTypeMethods in org.apache.drill.exec.vector that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionUntypedHolderReaderImpl.getType()UntypedNullHolder.getType()UntypedReaderImpl.getType()VectorDescriptor.getType()Methods in org.apache.drill.exec.vector with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic VectorDescriptorVectorDescriptor.create(String name, TypeProtos.MajorType type) static VectorDescriptorVectorDescriptor.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) Constructors in org.apache.drill.exec.vector with parameters of type TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.accessor
Methods in org.apache.drill.exec.vector.accessor that return TypeProtos.MajorTypeModifier 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
Fields in org.apache.drill.exec.vector.accessor.reader declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionprotected final TypeProtos.MajorTypeVectorAccessors.BaseHyperVectorAccessor.typeMethods in org.apache.drill.exec.vector.accessor.reader that return TypeProtos.MajorTypeModifier and TypeMethodDescriptionVectorAccessor.type()VectorAccessors.ArrayDataHyperVectorAccessor.type()VectorAccessors.BaseHyperVectorAccessor.type()VectorAccessors.NullableValuesHyperVectorAccessor.type()VectorAccessors.NullVectorAccesor.type()VectorAccessors.SingleVectorAccessor.type()Constructors in org.apache.drill.exec.vector.accessor.reader with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionListMemberHyperVectorAccessor(VectorAccessor listAccessor, TypeProtos.MajorType memberType) MapMemberHyperVectorAccessor(VectorAccessor va, int index, TypeProtos.MajorType type) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.complex
Fields in org.apache.drill.exec.vector.complex declared as TypeProtos.MajorTypeModifier and TypeFieldDescriptionstatic final TypeProtos.MajorTypeDictVector.TYPEstatic final TypeProtos.MajorTypeMapVector.TYPEstatic final TypeProtos.MajorTypeRepeatedDictVector.TYPEstatic final TypeProtos.MajorTypeRepeatedListVector.TYPEstatic final TypeProtos.MajorTypeRepeatedMapVector.TYPEstatic final TypeProtos.MajorType[]UnionVector.TYPESMethods in org.apache.drill.exec.vector.complex that return TypeProtos.MajorTypeMethods in org.apache.drill.exec.vector.complex with parameters of type TypeProtos.MajorTypeModifier 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.Constructors in org.apache.drill.exec.vector.complex with parameters of type TypeProtos.MajorTypeModifierConstructorDescriptionDictVector(MaterializedField field, BufferAllocator allocator, CallBack callBack, TypeProtos.MajorType keyType, TypeProtos.MajorType valueType) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.complex.impl
Methods in org.apache.drill.exec.vector.complex.impl that return TypeProtos.MajorTypeModifier 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()Methods in org.apache.drill.exec.vector.complex.impl with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic FieldWriterComplexCopier.getListWriterForType(TypeProtos.MajorType type, BaseWriter.ListWriter writer) static FieldWriterComplexCopier.getMapWriterForType(TypeProtos.MajorType type, BaseWriter.MapWriter writer, String name) -
Uses of TypeProtos.MajorType in org.apache.drill.exec.vector.complex.reader
Methods in org.apache.drill.exec.vector.complex.reader that return TypeProtos.MajorType -
Uses of TypeProtos.MajorType in org.apache.drill.metastore.util
Methods in org.apache.drill.metastore.util with parameters of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic voidSchemaPathUtils.addColumnMetadata(TupleMetadata schema, SchemaPath schemaPath, TypeProtos.MajorType type, Map<SchemaPath, TypeProtos.MajorType> types) Adds column with specified schema path and type into specifiedTupleMetadata schema.Method parameters in org.apache.drill.metastore.util with type arguments of type TypeProtos.MajorTypeModifier and TypeMethodDescriptionstatic voidSchemaPathUtils.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.