Uses of Enum
org.apache.drill.common.types.TypeProtos.MinorType
Package
Description
Logical expression tree representation.
Logical function definitions.
Logical data types.
Drill expression materialization and evaluation facilities.
Standard type conversion tools for the case in which the input
types are the standard Java types already supported by the
ValuesWriter
interface.Handles the details of the result set loader implementation.
Provides a fluent schema builder.
Kafka storage plugin.
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.
Implementation of the vector writers.
-
Uses of TypeProtos.MinorType in org.apache.drill.common.expression
-
Uses of TypeProtos.MinorType in org.apache.drill.common.expression.fn
Modifier and TypeMethodDescriptionstatic String
FunctionReplacementUtils.getCastFunc
(TypeProtos.MinorType targetMinorType) Given the target type, get the appropriate cast functionstatic String
FunctionReplacementUtils.getReplacingFunction
(String functionName, TypeProtos.DataMode dataMode, TypeProtos.MinorType inputType) Get a replacing function for the original function, based on the specified data modestatic boolean
FunctionReplacementUtils.isReplacementNeeded
(String functionName, TypeProtos.MinorType inputType) Check if a replacing function is available for the the original function -
Uses of TypeProtos.MinorType in org.apache.drill.common.types
Modifier and TypeMethodDescriptionstatic TypeProtos.MinorType
TypeProtos.MinorType.forNumber
(int value) TypeProtos.MajorType.Builder.getMinorType()
optional .common.MinorType minor_type = 1;
TypeProtos.MajorType.getMinorType()
optional .common.MinorType minor_type = 1;
TypeProtos.MajorTypeOrBuilder.getMinorType()
optional .common.MinorType minor_type = 1;
static TypeProtos.MinorType
Types.getMinorTypeFromName
(String typeName) TypeProtos.MajorType.Builder.getSubType
(int index) used by Union typeTypeProtos.MajorType.getSubType
(int index) used by Union typeTypeProtos.MajorTypeOrBuilder.getSubType
(int index) used by Union typestatic TypeProtos.MinorType
TypeProtos.MinorType.valueOf
(int value) Deprecated.static TypeProtos.MinorType
TypeProtos.MinorType.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TypeProtos.MinorType
Returns the enum constant of this type with the specified name.static TypeProtos.MinorType[]
TypeProtos.MinorType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionTypeProtos.MajorType.Builder.getSubTypeList()
used by Union typeTypeProtos.MajorType.getSubTypeList()
used by Union typeTypeProtos.MajorTypeOrBuilder.getSubTypeList()
used by Union typestatic com.google.protobuf.Internal.EnumLiteMap<TypeProtos.MinorType>
TypeProtos.MinorType.internalGetValueMap()
Modifier and TypeMethodDescriptionTypeProtos.MajorType.Builder.addSubType
(TypeProtos.MinorType value) used by Union typestatic boolean
Types.areDecimalTypes
(TypeProtos.MinorType... types) Returns true if all specified types are decimal data types.static String
Types.getNameOfMinorType
(TypeProtos.MinorType type) static boolean
Types.isDateTimeType
(TypeProtos.MinorType type) static boolean
Types.isDecimalType
(TypeProtos.MinorType minorType) Returns true if specified type is decimal data type.static boolean
Types.isFixedWidthType
(TypeProtos.MinorType type) static boolean
Types.isIntervalType
(TypeProtos.MinorType type) static boolean
Types.isNumericType
(TypeProtos.MinorType type) static boolean
Types.isSortable
(TypeProtos.MinorType type) Checks if the given type column can be used in ORDER BY clause.static boolean
Types.isVarWidthType
(TypeProtos.MinorType type) static int
Types.maxPrecision
(TypeProtos.MinorType type) static TypeProtos.MajorType
Types.optional
(TypeProtos.MinorType type) static TypeProtos.MajorType
Types.repeated
(TypeProtos.MinorType type) static TypeProtos.MajorType
Types.required
(TypeProtos.MinorType type) TypeProtos.MajorType.Builder.setMinorType
(TypeProtos.MinorType value) optional .common.MinorType minor_type = 1;
TypeProtos.MajorType.Builder.setSubType
(int index, TypeProtos.MinorType value) used by Union typestatic String
Types.typeKey
(TypeProtos.MinorType type) The union vector is a map of types.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 TypeMethodDescriptionTypeProtos.MajorType.Builder.addAllSubType
(Iterable<? extends TypeProtos.MinorType> values) used by Union type -
Uses of TypeProtos.MinorType in org.apache.drill.exec.expr
Modifier and TypeMethodDescriptionprotected static String
BasicTypeHelper.buildErrorMessage
(String operation, TypeProtos.MinorType type, TypeProtos.DataMode mode) static LogicalExpression
ExpressionTreeMaterializer.convertToNullableType
(LogicalExpression fromExpr, TypeProtos.MinorType toType, FunctionLookupContext functionLookupContext, ErrorCollector errorCollector) static <V> ColumnStatistics<V>
StatisticsProvider.getColumnStatistics
(V minVal, V maxVal, long nullsCount, TypeProtos.MinorType type) ReturnsColumnStatistics
instance with set min, max values and nulls count statistics specified in the arguments.static com.sun.codemodel.JType
TypeHelper.getComplexHolderType
(com.sun.codemodel.JCodeModel model, TypeProtos.MinorType type, TypeProtos.DataMode mode) static <V> ColumnStatistics<V>
StatisticsProvider.getConstantColumnStatistics
(V minMaxValue, TypeProtos.MinorType type) ReturnsColumnStatistics
instance with min and max values set tominMaxValue
and nulls count set to 0.static Class<?>
BasicTypeHelper.getHolderReaderImpl
(TypeProtos.MinorType type, TypeProtos.DataMode mode) static com.sun.codemodel.JType
TypeHelper.getHolderType
(com.sun.codemodel.JCodeModel model, TypeProtos.MinorType type, TypeProtos.DataMode mode) static Class<?>
BasicTypeHelper.getReaderClassName
(TypeProtos.MinorType type, TypeProtos.DataMode mode, boolean isSingularRepeated) static Class<? extends ValueVector>
BasicTypeHelper.getValueVectorClass
(TypeProtos.MinorType type, TypeProtos.DataMode mode) static Class<?>
BasicTypeHelper.getWriterImpl
(TypeProtos.MinorType type, TypeProtos.DataMode mode) static Class<?>
BasicTypeHelper.getWriterInterface
(TypeProtos.MinorType type, TypeProtos.DataMode mode) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.expr.fn.impl
Modifier and TypeMethodDescriptionstatic int
UnionFunctions.compareTypes
(TypeProtos.MinorType type1, TypeProtos.MinorType type2) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.expr.fn.impl.hive
Modifier and TypeMethodDescriptionstatic TypeProtos.MinorType
ObjectInspectorHelper.getDrillType
(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi) Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspectorHelper.getDrillObjectInspector
(TypeProtos.DataMode mode, TypeProtos.MinorType minorType, boolean varCharToStringReplacement) static com.sun.codemodel.JBlock
ObjectInspectorHelper.initReturnValueHolder
(ClassGenerator<?> g, com.sun.codemodel.JCodeModel m, com.sun.codemodel.JVar returnValueHolder, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi, TypeProtos.MinorType returnType) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.metastore.analyze
Modifier and TypeFieldDescriptionstatic final Map<StatisticsKind<?>,
TypeProtos.MinorType> AnalyzeColumnUtils.COLUMN_STATISTICS_TYPES
-
Uses of TypeProtos.MinorType in org.apache.drill.exec.ops
Modifier and TypeMethodDescriptionFragmentContextImpl.getConstantValueHolder
(String value, TypeProtos.MinorType type, org.apache.drill.shaded.guava.com.google.common.base.Function<DrillBuf, ValueHolder> holderInitializer) QueryContext.getConstantValueHolder
(String value, TypeProtos.MinorType type, org.apache.drill.shaded.guava.com.google.common.base.Function<DrillBuf, ValueHolder> holderInitializer) UdfUtilities.getConstantValueHolder
(String value, TypeProtos.MinorType type, org.apache.drill.shaded.guava.com.google.common.base.Function<DrillBuf, ValueHolder> holderInitializer) Works with value holders cache which holds constant value and its wrapper by type. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.physical.impl.scan.convert
Modifier and TypeMethodDescriptionStandardConversions.analyze
(TypeProtos.MinorType inputType, ColumnMetadata outputSchema) StandardConversions.converterFor
(ScalarWriter scalarWriter, TypeProtos.MinorType inputType) StandardConversions.converterFor
(ScalarWriter scalarWriter, TypeProtos.MinorType inputType, Map<String, String> columnProps) Create a direct column converter, if necessary, for the given input type and optional properties. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.physical.resultSet.impl
Modifier and TypeMethodDescriptionListState.addType
(TypeProtos.MinorType type) UnionState.addType
(TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.planner.sql
Modifier and TypeMethodDescriptionstatic TypeProtos.MinorType
TypeInferenceUtils.getDrillTypeFromCalciteType
(org.apache.calcite.rel.type.RelDataType relDataType) Given a Calcite's RelDataType, return a Drill's corresponding TypeProtos.MinorTypestatic TypeProtos.MinorType
TypeInferenceUtils.getDrillTypeFromCalciteType
(org.apache.calcite.sql.type.SqlTypeName sqlTypeName) Given a Calcite's SqlTypeName, return a Drill's corresponding TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic org.apache.calcite.sql.type.SqlTypeName
TypeInferenceUtils.getCalciteTypeFromDrillType
(TypeProtos.MinorType type) Given a Drill's TypeProtos.MinorType, return a Calcite's corresponding SqlTypeName -
Uses of TypeProtos.MinorType in org.apache.drill.exec.proto
Modifier and TypeMethodDescriptionUserProtos.ConvertSupport.Builder.getFrom()
required .common.MinorType from = 1;
UserProtos.ConvertSupport.getFrom()
required .common.MinorType from = 1;
UserProtos.ConvertSupportOrBuilder.getFrom()
required .common.MinorType from = 1;
UserProtos.ConvertSupport.Builder.getTo()
required .common.MinorType to = 2;
UserProtos.ConvertSupport.getTo()
required .common.MinorType to = 2;
UserProtos.ConvertSupportOrBuilder.getTo()
required .common.MinorType to = 2;
Modifier and TypeMethodDescriptionUserProtos.ConvertSupport.Builder.setFrom
(TypeProtos.MinorType value) required .common.MinorType from = 1;
UserProtos.ConvertSupport.Builder.setTo
(TypeProtos.MinorType value) required .common.MinorType to = 2;
-
Uses of TypeProtos.MinorType in org.apache.drill.exec.record
Modifier and TypeMethodDescriptionprotected TypeProtos.MinorType
ColumnConverter.MapColumnConverter.getScalarMinorType
(Class<?> clazz) ModifierConstructorDescriptionMajorTypeHolder
(TypeProtos.MinorType minorType, TypeProtos.DataMode mode, Integer width, Integer precision, Integer scale) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.record.metadata
Modifier and TypeFieldDescriptionprotected final TypeProtos.MinorType
AbstractColumnMetadata.type
Modifier and TypeMethodDescriptionVariantMetadata.types()
Returns the list of types which are members of this variant.VariantSchema.types()
Modifier and TypeMethodDescriptionMapBuilder.add
(String name, TypeProtos.MinorType type) MapBuilder.add
(String name, TypeProtos.MinorType type, int width) MapBuilder.add
(String name, TypeProtos.MinorType type, int precision, int scale) MapBuilder.add
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) SchemaBuilder.add
(String name, TypeProtos.MinorType type) SchemaBuilder.add
(String name, TypeProtos.MinorType type, int width) SchemaBuilder.add
(String name, TypeProtos.MinorType type, int precision, int scale) SchemaBuilder.add
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) void
TupleBuilder.add
(String name, TypeProtos.MinorType type) void
TupleBuilder.add
(String name, TypeProtos.MinorType type, int width) void
TupleBuilder.add
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) MapBuilder.addArray
(String name, TypeProtos.MinorType type) MapBuilder.addArray
(String name, TypeProtos.MinorType type, int dims) MapBuilder.addArray
(String name, TypeProtos.MinorType type, int precision, int scale) RepeatedListBuilder.addArray
(TypeProtos.MinorType type) RepeatedListBuilder.addArray
(TypeProtos.MinorType type, int width) RepeatedListBuilder.addArray
(TypeProtos.MinorType type, int precision, int scale) SchemaBuilder.addArray
(String name, TypeProtos.MinorType type) SchemaBuilder.addArray
(String name, TypeProtos.MinorType type, int dims) Add a multi-dimensional array, implemented as a repeated vector along with 0 or more repeated list vectors.SchemaBuilder.addArray
(String name, TypeProtos.MinorType type, int precision, int scale) void
TupleBuilder.addArray
(String name, TypeProtos.MinorType type) void
TupleBuilder.addArray
(String name, TypeProtos.MinorType type, int dims) Add a multi-dimensional array, implemented as a repeated vector along with 0 or more repeated list vectors.MapBuilder.addDecimal
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision, int scale) SchemaBuilder.addDecimal
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision, int scale) void
TupleBuilder.addDecimal
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision, int scale) MapBuilder.addDict
(String name, TypeProtos.MinorType keyType) SchemaBuilder.addDict
(String name, TypeProtos.MinorType keyType) MapBuilder.addDictArray
(String name, TypeProtos.MinorType keyType) SchemaBuilder.addDictArray
(String name, TypeProtos.MinorType keyType) MapBuilder.addNullable
(String name, TypeProtos.MinorType type) MapBuilder.addNullable
(String name, TypeProtos.MinorType type, int width) MapBuilder.addNullable
(String name, TypeProtos.MinorType type, int precision, int scale) SchemaBuilder.addNullable
(String name, TypeProtos.MinorType type) SchemaBuilder.addNullable
(String name, TypeProtos.MinorType type, int width) SchemaBuilder.addNullable
(String name, TypeProtos.MinorType type, int precision, int scale) void
TupleBuilder.addNullable
(String name, TypeProtos.MinorType type) void
TupleBuilder.addNullable
(String name, TypeProtos.MinorType type, int width) UnionBuilder.addType
(TypeProtos.MinorType type) VariantMetadata.addType
(TypeProtos.MinorType type) Add any supported type to the variant.VariantSchema.addType
(TypeProtos.MinorType type) static MaterializedField
SchemaBuilder.columnSchema
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) Create a column schema using the "basic three" properties of name, type and cardinality (AKA "data mode.") Use theColumnBuilder
for to set other schema attributes.boolean
VariantMetadata.hasType
(TypeProtos.MinorType type) Determine if the given type is a member of the variant.boolean
VariantSchema.hasType
(TypeProtos.MinorType type) static boolean
MetadataUtils.isComplex
(TypeProtos.MinorType type) static boolean
MetadataUtils.isScalar
(TypeProtos.MinorType type) DictBuilder.key
(TypeProtos.MinorType type) VariantMetadata.member
(TypeProtos.MinorType type) Retrieve the virtual column for a given type.VariantSchema.member
(TypeProtos.MinorType type) static ColumnMetadata
VariantSchema.memberMetadata
(TypeProtos.MinorType type) static ColumnMetadata
MetadataUtils.newDecimal
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision, int scale) static PrimitiveColumnMetadata
MetadataUtils.newScalar
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) static PrimitiveColumnMetadata
MetadataUtils.newScalar
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, boolean schemaForUnknown) DictBuilder.nullableValue
(TypeProtos.MinorType type) DictBuilder.repeatedValue
(TypeProtos.MinorType type) DictBuilder.value
(TypeProtos.MinorType type) static VariantColumnMetadata
VariantColumnMetadata.variantOf
(String name, TypeProtos.MinorType type, VariantSchema variantSchema) ModifierConstructorDescriptionAbstractColumnMetadata
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) AbstractMapColumnMetadata
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, TupleSchema schema) ColumnBuilder
(String name, TypeProtos.MinorType type) PrimitiveColumnMetadata
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) PrimitiveColumnMetadata
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, boolean forUnknownSchema) UnionBuilder
(String name, TypeProtos.MinorType type) UnionBuilder
(org.apache.drill.exec.record.metadata.SchemaContainer parent, String name, TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.resolver
Modifier and TypeFieldDescriptionstatic final org.apache.drill.shaded.guava.com.google.common.graph.ImmutableValueGraph<TypeProtos.MinorType,
Float> ResolverTypePrecedence.CAST_GRAPH
Modifier and TypeMethodDescriptionstatic TypeProtos.MinorType
TypeCastRules.getLeastRestrictiveType
(TypeProtos.MinorType... types) Modifier and TypeMethodDescriptionstatic Optional<TypeProtos.MinorType>
TypeCastRules.getCheapestCast
(TypeProtos.MinorType fromType, TypeProtos.MinorType... toTypes) Finds the type in a given set that has the cheapest cast from a given starting type.Modifier and TypeMethodDescriptionstatic float
ResolverTypePrecedence.computeCost
(TypeProtos.MinorType fromType, TypeProtos.MinorType toType) Searches the implicit casting graph for the path of least total cost using Dijkstra's algorithm.static Optional<TypeProtos.MinorType>
TypeCastRules.getCheapestCast
(TypeProtos.MinorType fromType, TypeProtos.MinorType... toTypes) Finds the type in a given set that has the cheapest cast from a given starting type.static TypeProtos.MinorType
TypeCastRules.getLeastRestrictiveType
(TypeProtos.MinorType... types) static boolean
TypeCastRules.isCastable
(TypeProtos.MinorType from, TypeProtos.MinorType to) static boolean
TypeCastRules.isNumericType
(TypeProtos.MinorType inputType) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.schema.json.jackson
Modifier and TypeMethodDescriptionstatic Object
JacksonHelper.getValueFromFieldType
(com.fasterxml.jackson.core.JsonParser parser, TypeProtos.MinorType fieldType) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store
Modifier and TypeMethodDescriptionvoid
ImplicitColumnUtils.ImplicitColumns.addImplicitColumn
(String fieldName, TypeProtos.MinorType type) Adds an implicit column.ModifierConstructorDescriptionImplicitColumn
(String fieldName, TypeProtos.MinorType dataType, RowSetLoader rowWriter) ImplicitColumn
(String fieldName, TypeProtos.MinorType dataType, RowSetLoader rowWriter, Object value) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.base.filter
Modifier and TypeMethodDescriptionConstantHolder.conversionError
(TypeProtos.MinorType toType) ConstantHolder.convertTo
(TypeProtos.MinorType toType) Convert a constant to the given type.ConstantHolder.normalize
(TypeProtos.MinorType toType) Normalize the constant to the given type. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.easy.json.loader
Modifier and TypeFieldDescriptionJsonLoaderOptions.nullType
Type to use for a field which contains all nulls, or all empty arrays.Modifier and TypeMethodDescriptionFieldDefn.scalarWriterFor
(TypeProtos.MinorType type, boolean isArray) FieldDefn.schemaFor
(TypeProtos.MinorType type, boolean isArray) FieldDefn.schemaFor
(TypeProtos.MinorType type, boolean isArray, boolean forUnknownSchema) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.googlesheets
-
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.hdf5
Modifier and TypeMethodDescriptionHDF5Attribute.getDataType()
static TypeProtos.MinorType
HDF5Utils.getDataType
(io.jhdf.object.datatype.DataType dataType) This function returns the Drill data type of a given HDF5 dataset.ModifierConstructorDescriptionHDF5Attribute
(TypeProtos.MinorType type, String key, Object value) HDF5Attribute
(TypeProtos.MinorType type, String key, Object value, boolean isCompound) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.hdf5.writers
Modifier and TypeMethodDescriptionWriterSpec.makeWriter
(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.hive
Modifier and TypeMethodDescriptionstatic TypeProtos.MinorType
HiveUtilities.getMinorTypeFromHivePrimitiveTypeInfo
(org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo primitiveTypeInfo, OptionSet options) Obtains minor type from given primitive type info holder. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.image
Modifier and TypeMethodDescriptionImageBatchReader.MapColumnDefn.addObject
(String name, TypeProtos.MinorType type) example : { a : 1 } > { a : 1, b : object() } -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.jdbc
ModifierConstructorDescriptionJdbcColumn
(String colName, TypeProtos.MinorType type, int colPosition, int scale, int precision) JdbcWriterField
(String fieldName, TypeProtos.MinorType dataType, TypeProtos.DataMode mode) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.kafka
-
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.mock
Modifier and TypeFieldDescriptionMockTableDef.MockColumn.minorType
Column type given as a Drill minor type (that is, a type without the extra information such as cardinality, width, etc.ModifierConstructorDescriptionMockColumn
(String name, TypeProtos.MinorType minorType, TypeProtos.DataMode mode, Integer width, Integer precision, Integer scale, String generator, Integer repeat, Map<String, Object> properties) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.parquet
Modifier and TypeMethodDescriptionstatic TypeProtos.MinorType
ParquetReaderUtility.getMinorType
(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.schema.OriginalType originalType) Builds minor type using givenOriginalType originalType
orPrimitiveTypeName type
.Modifier and TypeMethodDescriptionstatic int
ParquetTypeHelper.getLengthForMinorType
(TypeProtos.MinorType minorType) static org.apache.parquet.schema.OriginalType
ParquetTypeHelper.getOriginalTypeForMinorType
(TypeProtos.MinorType minorType) static org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName
ParquetTypeHelper.getPrimitiveTypeNameForMinorType
(TypeProtos.MinorType minorType) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.phoenix
Modifier and TypeFieldDescriptionprotected static final Map<Integer,
TypeProtos.MinorType> PhoenixReader.COLUMN_TYPE_MAP
-
Uses of TypeProtos.MinorType in org.apache.drill.exec.util
Modifier and TypeMethodDescriptionValueVectorElementFormatter.format
(Object value, TypeProtos.MinorType minorType) Formats ValueVector elements in accordance with it's minor type.static int
DecimalUtility.getDefaultPrecision
(TypeProtos.MinorType minorType, int defaultPrecision) Returns default precision for specifiedTypeProtos.MinorType
or returns specified defaultPrecision ifTypeProtos.MinorType
isn'tINT
orBIGINT
.static boolean
DecimalUtility.isObsoleteDecimalType
(TypeProtos.MinorType minorType) Checks that specified decimal minorType is obsolete. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.accessor
Modifier and TypeMethodDescriptionVariantReader.dataType()
Return the data type of the current value.Modifier and TypeMethodDescriptionVariantWriter.addMember
(TypeProtos.MinorType type) VariantWriter.VariantWriterListener.addType
(TypeProtos.MinorType type) boolean
VariantReader.hasType
(TypeProtos.MinorType type) Determine if a given type is supported by the union vector for some value in the result set.boolean
VariantWriter.hasType
(TypeProtos.MinorType type) Determine if the union vector has materialized storage for the given type.VariantReader.member
(TypeProtos.MinorType type) Return the member reader for the given type.VariantWriter.member
(TypeProtos.MinorType type) Set the type of the present value and get the writer for that type.VariantWriter.memberWriter
(TypeProtos.MinorType type) Create or retrieve a writer for the given type.VariantReader.scalar
(TypeProtos.MinorType type) Return the scalar reader for the given type member.VariantWriter.scalar
(TypeProtos.MinorType type) void
VariantWriter.setType
(TypeProtos.MinorType type) Explicitly set the type of the present value. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.accessor.reader
Modifier and TypeMethodDescriptionboolean
UnionReaderImpl.hasType
(TypeProtos.MinorType type) UnionReaderImpl.member
(TypeProtos.MinorType type) static <T> T
ColumnReaderFactory.newAccessor
(TypeProtos.MinorType type, Class<? extends T>[] accessors) UnionReaderImpl.scalar
(TypeProtos.MinorType type) ModifierConstructorDescriptionComplexMemberStateReader
(ColumnAccessors.UInt1ColumnReader typeReader, TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.accessor.writer
Modifier and TypeMethodDescriptionEmptyListShim.addMember
(TypeProtos.MinorType type) SimpleListShim.addMember
(TypeProtos.MinorType type) UnionShim.addMember
(TypeProtos.MinorType type) UnionVectorShim.addMember
(TypeProtos.MinorType type) UnionWriterImpl.addMember
(TypeProtos.MinorType type) boolean
EmptyListShim.hasType
(TypeProtos.MinorType type) boolean
SimpleListShim.hasType
(TypeProtos.MinorType type) boolean
UnionShim.AbstractUnionShim.hasType
(TypeProtos.MinorType type) boolean
UnionShim.hasType
(TypeProtos.MinorType type) boolean
UnionVectorShim.hasType
(TypeProtos.MinorType type) boolean
UnionWriterImpl.hasType
(TypeProtos.MinorType type) EmptyListShim.member
(TypeProtos.MinorType type) SimpleListShim.member
(TypeProtos.MinorType type) UnionShim.member
(TypeProtos.MinorType type) Return an existing writer for the given type, or create a new one if needed.UnionVectorShim.member
(TypeProtos.MinorType type) UnionWriterImpl.member
(TypeProtos.MinorType type) UnionWriterImpl.memberWriter
(TypeProtos.MinorType type) UnionWriterImpl.scalar
(TypeProtos.MinorType type) void
EmptyListShim.setType
(TypeProtos.MinorType type) void
SimpleListShim.setType
(TypeProtos.MinorType type) void
UnionShim.setType
(TypeProtos.MinorType type) void
UnionVectorShim.setType
(TypeProtos.MinorType type) void
UnionWriterImpl.setType
(TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.complex
Modifier and TypeMethodDescriptionvoid
UnionVector.addSubType
(TypeProtos.MinorType type) UnionVector.getMember
(TypeProtos.MinorType type) Add or get a type member given the type.<T extends ValueVector>
TUnionVector.member
(TypeProtos.MinorType type) void
UnionVector.Mutator.setType
(int index, TypeProtos.MinorType type) <T extends ValueVector>
TUnionVector.subtype
(TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.complex.impl
Modifier and TypeMethodDescriptionAbstractFieldReader.getVectorType()
SingleDictReaderImpl.getVectorType()
UnionReader.getVectorType()
Modifier and TypeMethodDescriptionprotected FieldWriter
PromotableWriter.getWriter
(TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.complex.reader
Modifier and TypeMethodDescriptionBaseReader.getVectorType()
Returns the type of the vector, not value. -
Uses of TypeProtos.MinorType in org.apache.drill.metastore.statistics
ModifierConstructorDescriptionColumnStatistics
(Collection<StatisticsHolder<?>> statistics, TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.metastore.util
Modifier and TypeMethodDescriptionstatic <T> Comparator<T>
TableMetadataUtils.getComparator
(TypeProtos.MinorType type) ReturnsComparator
instance considering specifiedtype
.