Uses of Enum
org.apache.drill.common.types.TypeProtos.MinorType
Packages that use TypeProtos.MinorType
Package
Description
Logical (execution-engine-independent) element definitions.
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
interface.
invalid reference
ValuesWriter
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
Methods in org.apache.drill.common that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MinorTypeTypifier.typifyToDrill(String data) This function infers the Drill data type of unknown data. -
Uses of TypeProtos.MinorType in org.apache.drill.common.expression
Fields in org.apache.drill.common.expression declared as TypeProtos.MinorTypeConstructors in org.apache.drill.common.expression with parameters of type TypeProtos.MinorType -
Uses of TypeProtos.MinorType in org.apache.drill.common.expression.fn
Methods in org.apache.drill.common.expression.fn with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic StringFunctionReplacementUtils.getCastFunc(TypeProtos.MinorType targetMinorType) Given the target type, get the appropriate cast functionstatic StringFunctionReplacementUtils.getReplacingFunction(String functionName, TypeProtos.DataMode dataMode, TypeProtos.MinorType inputType) Get a replacing function for the original function, based on the specified data modestatic booleanFunctionReplacementUtils.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
Methods in org.apache.drill.common.types that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MinorTypeTypeProtos.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.MinorTypeTypes.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.MinorTypeTypeProtos.MinorType.valueOf(int value) Deprecated.static TypeProtos.MinorTypeTypeProtos.MinorType.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TypeProtos.MinorTypeReturns 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.Methods in org.apache.drill.common.types that return types with arguments of type TypeProtos.MinorTypeModifier 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()Methods in org.apache.drill.common.types with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionTypeProtos.MajorType.Builder.addSubType(TypeProtos.MinorType value) used by Union typestatic booleanTypes.areDecimalTypes(TypeProtos.MinorType... types) Returns true if all specified types are decimal data types.static StringTypes.getNameOfMinorType(TypeProtos.MinorType type) static booleanTypes.isDateTimeType(TypeProtos.MinorType type) static booleanTypes.isDecimalType(TypeProtos.MinorType minorType) Returns true if specified type is decimal data type.static booleanTypes.isFixedWidthType(TypeProtos.MinorType type) static booleanTypes.isIntervalType(TypeProtos.MinorType type) static booleanTypes.isNumericType(TypeProtos.MinorType type) static booleanTypes.isSortable(TypeProtos.MinorType type) Checks if the given type column can be used in ORDER BY clause.static booleanTypes.isVarWidthType(TypeProtos.MinorType type) static intTypes.maxPrecision(TypeProtos.MinorType type) static TypeProtos.MajorTypeTypes.optional(TypeProtos.MinorType type) static TypeProtos.MajorTypeTypes.repeated(TypeProtos.MinorType type) static TypeProtos.MajorTypeTypes.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 StringTypes.typeKey(TypeProtos.MinorType type) The union vector is a map of types.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) Method parameters in org.apache.drill.common.types with type arguments of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionTypeProtos.MajorType.Builder.addAllSubType(Iterable<? extends TypeProtos.MinorType> values) used by Union type -
Uses of TypeProtos.MinorType in org.apache.drill.exec.expr
Methods in org.apache.drill.exec.expr that return TypeProtos.MinorTypeMethods in org.apache.drill.exec.expr with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionprotected static StringBasicTypeHelper.buildErrorMessage(String operation, TypeProtos.MinorType type, TypeProtos.DataMode mode) static LogicalExpressionExpressionTreeMaterializer.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) ReturnsColumnStatisticsinstance with set min, max values and nulls count statistics specified in the arguments.static com.sun.codemodel.JTypeTypeHelper.getComplexHolderType(com.sun.codemodel.JCodeModel model, TypeProtos.MinorType type, TypeProtos.DataMode mode) static <V> ColumnStatistics<V> StatisticsProvider.getConstantColumnStatistics(V minMaxValue, TypeProtos.MinorType type) ReturnsColumnStatisticsinstance with min and max values set tominMaxValueand nulls count set to 0.static Class<?> BasicTypeHelper.getHolderReaderImpl(TypeProtos.MinorType type, TypeProtos.DataMode mode) static com.sun.codemodel.JTypeTypeHelper.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
Methods in org.apache.drill.exec.expr.fn.impl with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic intUnionFunctions.compareTypes(TypeProtos.MinorType type1, TypeProtos.MinorType type2) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.expr.fn.impl.hive
Methods in org.apache.drill.exec.expr.fn.impl.hive that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MinorTypeObjectInspectorHelper.getDrillType(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi) Methods in org.apache.drill.exec.expr.fn.impl.hive with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorObjectInspectorHelper.getDrillObjectInspector(TypeProtos.DataMode mode, TypeProtos.MinorType minorType, boolean varCharToStringReplacement) static com.sun.codemodel.JBlockObjectInspectorHelper.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
Fields in org.apache.drill.exec.metastore.analyze with type parameters of type TypeProtos.MinorTypeModifier and TypeFieldDescriptionstatic final Map<StatisticsKind<?>, TypeProtos.MinorType> AnalyzeColumnUtils.COLUMN_STATISTICS_TYPES -
Uses of TypeProtos.MinorType in org.apache.drill.exec.ops
Methods in org.apache.drill.exec.ops with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionFragmentContextImpl.getConstantValueHolder(String value, TypeProtos.MinorType type, com.google.common.base.Function<DrillBuf, ValueHolder> holderInitializer) QueryContext.getConstantValueHolder(String value, TypeProtos.MinorType type, com.google.common.base.Function<DrillBuf, ValueHolder> holderInitializer) UdfUtilities.getConstantValueHolder(String value, TypeProtos.MinorType type, 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
Methods in org.apache.drill.exec.physical.impl.scan.convert with parameters of type TypeProtos.MinorTypeModifier 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
Methods in org.apache.drill.exec.physical.resultSet.impl with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionListState.addType(TypeProtos.MinorType type) UnionState.addType(TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.planner.sql
Methods in org.apache.drill.exec.planner.sql that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MinorTypeTypeInferenceUtils.getDrillTypeFromCalciteType(org.apache.calcite.rel.type.RelDataType relDataType) Given a Calcite's RelDataType, return a Drill's corresponding TypeProtos.MinorTypestatic TypeProtos.MinorTypeTypeInferenceUtils.getDrillTypeFromCalciteType(org.apache.calcite.sql.type.SqlTypeName sqlTypeName) Given a Calcite's SqlTypeName, return a Drill's corresponding TypeProtos.MinorTypeMethods in org.apache.drill.exec.planner.sql with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic org.apache.calcite.sql.type.SqlTypeNameTypeInferenceUtils.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
Methods in org.apache.drill.exec.proto that return TypeProtos.MinorTypeModifier 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;Methods in org.apache.drill.exec.proto with parameters of type TypeProtos.MinorTypeModifier 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
Fields in org.apache.drill.exec.record declared as TypeProtos.MinorTypeMethods in org.apache.drill.exec.record that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionprotected TypeProtos.MinorTypeColumnConverter.MapColumnConverter.getScalarMinorType(Class<?> clazz) Constructors in org.apache.drill.exec.record with parameters of type TypeProtos.MinorTypeModifierConstructorDescriptionMajorTypeHolder(TypeProtos.MinorType minorType, TypeProtos.DataMode mode, Integer width, Integer precision, Integer scale) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.record.metadata
Fields in org.apache.drill.exec.record.metadata declared as TypeProtos.MinorTypeModifier and TypeFieldDescriptionprotected final TypeProtos.MinorTypeAbstractColumnMetadata.typeMethods in org.apache.drill.exec.record.metadata that return TypeProtos.MinorTypeMethods in org.apache.drill.exec.record.metadata that return types with arguments of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionVariantMetadata.types()Returns the list of types which are members of this variant.VariantSchema.types()Methods in org.apache.drill.exec.record.metadata with parameters of type TypeProtos.MinorTypeModifier 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) voidTupleBuilder.add(String name, TypeProtos.MinorType type) voidTupleBuilder.add(String name, TypeProtos.MinorType type, int width) voidTupleBuilder.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) voidTupleBuilder.addArray(String name, TypeProtos.MinorType type) voidTupleBuilder.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) voidTupleBuilder.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) voidTupleBuilder.addNullable(String name, TypeProtos.MinorType type) voidTupleBuilder.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 MaterializedFieldSchemaBuilder.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 theColumnBuilderfor to set other schema attributes.booleanVariantMetadata.hasType(TypeProtos.MinorType type) Determine if the given type is a member of the variant.booleanVariantSchema.hasType(TypeProtos.MinorType type) static booleanMetadataUtils.isComplex(TypeProtos.MinorType type) static booleanMetadataUtils.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 ColumnMetadataVariantSchema.memberMetadata(TypeProtos.MinorType type) static ColumnMetadataMetadataUtils.newDecimal(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, int precision, int scale) static PrimitiveColumnMetadataMetadataUtils.newScalar(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) static PrimitiveColumnMetadataMetadataUtils.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 VariantColumnMetadataVariantColumnMetadata.variantOf(String name, TypeProtos.MinorType type, VariantSchema variantSchema) Constructors in org.apache.drill.exec.record.metadata with parameters of type TypeProtos.MinorTypeModifierConstructorDescriptionAbstractColumnMetadata(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
Fields in org.apache.drill.exec.resolver with type parameters of type TypeProtos.MinorTypeModifier and TypeFieldDescriptionstatic final com.google.common.graph.ImmutableValueGraph<TypeProtos.MinorType, Float> ResolverTypePrecedence.CAST_GRAPHMethods in org.apache.drill.exec.resolver that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MinorTypeTypeCastRules.getLeastRestrictiveType(TypeProtos.MinorType... types) Methods in org.apache.drill.exec.resolver that return types with arguments of type TypeProtos.MinorTypeModifier 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.Methods in org.apache.drill.exec.resolver with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic floatResolverTypePrecedence.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.MinorTypeTypeCastRules.getLeastRestrictiveType(TypeProtos.MinorType... types) static booleanTypeCastRules.isCastable(TypeProtos.MinorType from, TypeProtos.MinorType to) static booleanTypeCastRules.isNumericType(TypeProtos.MinorType inputType) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.schema.json.jackson
Methods in org.apache.drill.exec.schema.json.jackson with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic ObjectJacksonHelper.getValueFromFieldType(com.fasterxml.jackson.core.JsonParser parser, TypeProtos.MinorType fieldType) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store
Methods in org.apache.drill.exec.store that return TypeProtos.MinorTypeMethods in org.apache.drill.exec.store with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionvoidImplicitColumnUtils.ImplicitColumns.addImplicitColumn(String fieldName, TypeProtos.MinorType type) Adds an implicit column.Constructors in org.apache.drill.exec.store with parameters of type TypeProtos.MinorTypeModifierConstructorDescriptionImplicitColumn(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
Fields in org.apache.drill.exec.store.base.filter declared as TypeProtos.MinorTypeMethods in org.apache.drill.exec.store.base.filter that return TypeProtos.MinorTypeMethods in org.apache.drill.exec.store.base.filter with parameters of type TypeProtos.MinorTypeModifier 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.Constructors in org.apache.drill.exec.store.base.filter with parameters of type TypeProtos.MinorType -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.easy.json.loader
Fields in org.apache.drill.exec.store.easy.json.loader declared as TypeProtos.MinorTypeModifier and TypeFieldDescriptionJsonLoaderOptions.nullTypeType to use for a field which contains all nulls, or all empty arrays.Methods in org.apache.drill.exec.store.easy.json.loader that return TypeProtos.MinorTypeMethods in org.apache.drill.exec.store.easy.json.loader with parameters of type TypeProtos.MinorTypeModifier 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
Methods in org.apache.drill.exec.store.googlesheets that return TypeProtos.MinorType -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.hdf5
Methods in org.apache.drill.exec.store.hdf5 that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionHDF5Attribute.getDataType()static TypeProtos.MinorTypeHDF5Utils.getDataType(io.jhdf.object.datatype.DataType dataType) This function returns the Drill data type of a given HDF5 dataset.Constructors in org.apache.drill.exec.store.hdf5 with parameters of type TypeProtos.MinorTypeModifierConstructorDescriptionHDF5Attribute(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
Methods in org.apache.drill.exec.store.hdf5.writers with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionWriterSpec.makeWriter(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.hive
Methods in org.apache.drill.exec.store.hive that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MinorTypeHiveUtilities.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
Methods in org.apache.drill.exec.store.image with parameters of type TypeProtos.MinorTypeModifier 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
Methods in org.apache.drill.exec.store.jdbc that return TypeProtos.MinorTypeConstructors in org.apache.drill.exec.store.jdbc with parameters of type TypeProtos.MinorTypeModifierConstructorDescriptionJdbcColumn(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
Methods in org.apache.drill.exec.store.kafka that return TypeProtos.MinorType -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.mock
Fields in org.apache.drill.exec.store.mock declared as TypeProtos.MinorTypeModifier and TypeFieldDescriptionMockTableDef.MockColumn.minorTypeColumn type given as a Drill minor type (that is, a type without the extra information such as cardinality, width, etc.Methods in org.apache.drill.exec.store.mock that return TypeProtos.MinorTypeConstructors in org.apache.drill.exec.store.mock with parameters of type TypeProtos.MinorTypeModifierConstructorDescriptionMockColumn(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
Methods in org.apache.drill.exec.store.parquet that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MinorTypeParquetReaderUtility.getMinorType(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.schema.OriginalType originalType) Builds minor type using givenOriginalType originalTypeorPrimitiveTypeName type.Methods in org.apache.drill.exec.store.parquet with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic intParquetTypeHelper.getLengthForMinorType(TypeProtos.MinorType minorType) static org.apache.parquet.schema.OriginalTypeParquetTypeHelper.getOriginalTypeForMinorType(TypeProtos.MinorType minorType) static org.apache.parquet.schema.PrimitiveType.PrimitiveTypeNameParquetTypeHelper.getPrimitiveTypeNameForMinorType(TypeProtos.MinorType minorType) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.phoenix
Fields in org.apache.drill.exec.store.phoenix with type parameters of type TypeProtos.MinorTypeModifier and TypeFieldDescriptionprotected static final Map<Integer, TypeProtos.MinorType> PhoenixReader.COLUMN_TYPE_MAP -
Uses of TypeProtos.MinorType in org.apache.drill.exec.store.xml.xsd
Fields in org.apache.drill.exec.store.xml.xsd with type parameters of type TypeProtos.MinorTypeModifier and TypeFieldDescriptionstatic final com.google.common.collect.ImmutableMap<String, TypeProtos.MinorType> DrillXSDSchemaUtils.XML_TYPE_MAPPINGSThis map maps the data types defined by the XSD definition to Drill data types.Methods in org.apache.drill.exec.store.xml.xsd that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic TypeProtos.MinorTypeDrillXSDSchemaUtils.getDrillDataType(String xmlType) Returns aTypeProtos.MinorTypeof the corresponding XML Data Type. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.util
Methods in org.apache.drill.exec.util with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionValueVectorElementFormatter.format(Object value, TypeProtos.MinorType minorType) Formats ValueVector elements in accordance with it's minor type.static intDecimalUtility.getDefaultPrecision(TypeProtos.MinorType minorType, int defaultPrecision) Returns default precision for specifiedTypeProtos.MinorTypeor returns specified defaultPrecision ifTypeProtos.MinorTypeisn'tINTorBIGINT.static booleanDecimalUtility.isObsoleteDecimalType(TypeProtos.MinorType minorType) Checks that specified decimal minorType is obsolete. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.accessor
Methods in org.apache.drill.exec.vector.accessor that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionVariantReader.dataType()Return the data type of the current value.Methods in org.apache.drill.exec.vector.accessor with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionVariantWriter.addMember(TypeProtos.MinorType type) VariantWriter.VariantWriterListener.addType(TypeProtos.MinorType type) booleanVariantReader.hasType(TypeProtos.MinorType type) Determine if a given type is supported by the union vector for some value in the result set.booleanVariantWriter.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) voidVariantWriter.setType(TypeProtos.MinorType type) Explicitly set the type of the present value. -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.accessor.reader
Methods in org.apache.drill.exec.vector.accessor.reader that return TypeProtos.MinorTypeMethods in org.apache.drill.exec.vector.accessor.reader with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionbooleanUnionReaderImpl.hasType(TypeProtos.MinorType type) UnionReaderImpl.member(TypeProtos.MinorType type) static <T> TColumnReaderFactory.newAccessor(TypeProtos.MinorType type, Class<? extends T>[] accessors) UnionReaderImpl.scalar(TypeProtos.MinorType type) Constructors in org.apache.drill.exec.vector.accessor.reader with parameters of type TypeProtos.MinorTypeModifierConstructorDescriptionComplexMemberStateReader(ColumnAccessors.UInt1ColumnReader typeReader, TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.accessor.writer
Methods in org.apache.drill.exec.vector.accessor.writer with parameters of type TypeProtos.MinorTypeModifier 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) booleanEmptyListShim.hasType(TypeProtos.MinorType type) booleanSimpleListShim.hasType(TypeProtos.MinorType type) booleanUnionShim.AbstractUnionShim.hasType(TypeProtos.MinorType type) booleanUnionShim.hasType(TypeProtos.MinorType type) booleanUnionVectorShim.hasType(TypeProtos.MinorType type) booleanUnionWriterImpl.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) voidEmptyListShim.setType(TypeProtos.MinorType type) voidSimpleListShim.setType(TypeProtos.MinorType type) voidUnionShim.setType(TypeProtos.MinorType type) voidUnionVectorShim.setType(TypeProtos.MinorType type) voidUnionWriterImpl.setType(TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.complex
Methods in org.apache.drill.exec.vector.complex that return types with arguments of type TypeProtos.MinorTypeMethods in org.apache.drill.exec.vector.complex with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionvoidUnionVector.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) voidUnionVector.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
Methods in org.apache.drill.exec.vector.complex.impl that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionAbstractFieldReader.getVectorType()SingleDictReaderImpl.getVectorType()UnionReader.getVectorType()Methods in org.apache.drill.exec.vector.complex.impl with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionprotected FieldWriterPromotableWriter.getWriter(TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.exec.vector.complex.reader
Methods in org.apache.drill.exec.vector.complex.reader that return TypeProtos.MinorTypeModifier and TypeMethodDescriptionBaseReader.getVectorType()Returns the type of the vector, not value. -
Uses of TypeProtos.MinorType in org.apache.drill.metastore.statistics
Methods in org.apache.drill.metastore.statistics that return TypeProtos.MinorTypeConstructors in org.apache.drill.metastore.statistics with parameters of type TypeProtos.MinorTypeModifierConstructorDescriptionColumnStatistics(Collection<StatisticsHolder<?>> statistics, TypeProtos.MinorType type) -
Uses of TypeProtos.MinorType in org.apache.drill.metastore.util
Methods in org.apache.drill.metastore.util with parameters of type TypeProtos.MinorTypeModifier and TypeMethodDescriptionstatic <T> Comparator<T> TableMetadataUtils.getComparator(TypeProtos.MinorType type) ReturnsComparatorinstance considering specifiedtype.