Uses of Class
org.apache.flink.table.types.DataType
-
-
Uses of DataType in org.apache.flink.table.api
Methods in org.apache.flink.table.api that return DataType Modifier and Type Method Description static DataTypeDataTypes. ARRAY(DataType elementDataType)Data type of an array of elements with same subtype.static DataTypeDataTypes. BIGINT()Data type of an 8-byte signed integer with values from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.static DataTypeDataTypes. BINARY(int n)Data type of a fixed-length binary string (=a sequence of bytes)BINARY(n)wherenis the number of bytes.static DataTypeDataTypes. BOOLEAN()Data type of a boolean with a (possibly) three-valued logic ofTRUE, FALSE, UNKNOWN.static DataTypeDataTypes. BYTES()Data type of a variable-length binary string (=a sequence of bytes) with defined maximum length.static DataTypeDataTypes. CHAR(int n)Data type of a fixed-length character stringCHAR(n)wherenis the number of code points.static DataTypeDataTypes. DATE()Data type of a date consisting ofyear-month-daywith values ranging from0000-01-01to9999-12-31.static DataTypeDataTypes. DECIMAL(int precision, int scale)Data type of a decimal number with fixed precision and scaleDECIMAL(p, s)wherepis the number of digits in a number (=precision) andsis the number of digits to the right of the decimal point in a number (=scale).static DataTypeDataTypes. DOUBLE()Data type of an 8-byte double precision floating point number.static DataTypeDataTypes. FLOAT()Data type of a 4-byte single precision floating point number.DataTypeDataTypes.Field. getDataType()static DataTypeDataTypes. INT()Data type of a 4-byte signed integer with values from -2,147,483,648 to 2,147,483,647.static DataTypeDataTypes. INTERVAL(DataTypes.Resolution resolution)Data type of a temporal interval.static DataTypeDataTypes. INTERVAL(DataTypes.Resolution upperResolution, DataTypes.Resolution lowerResolution)Data type of a temporal interval.static DataTypeDataTypes. MAP(DataType keyDataType, DataType valueDataType)Data type of an associative array that maps keys (includingNULL) to values (includingNULL).static DataTypeDataTypes. MULTISET(DataType elementDataType)Data type of a multiset (=bag).static DataTypeDataTypes. NULL()Data type for representing untypedNULLvalues.static DataTypeDataTypes. of(LogicalType logicalType)Creates aDataTypefrom aLogicalTypewith default conversion class.static <T> DataTypeDataTypes. RAW(Class<T> clazz, org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)Data type of an arbitrary serialized type.static DataTypeDataTypes. ROW()Data type of a row type with no fields.static DataTypeDataTypes. ROW(List<DataTypes.Field> fields)static DataTypeDataTypes. ROW(DataTypes.Field... fields)Data type of a sequence of fields.static DataTypeDataTypes. ROW(DataType... fieldDataTypes)Data type of a sequence of fields.static DataTypeDataTypes. SMALLINT()Data type of a 2-byte signed integer with values from -32,768 to 32,767.static DataTypeDataTypes. STRING()Data type of a variable-length character string with defined maximum length.static <T> DataTypeDataTypes. STRUCTURED(Class<T> implementationClass, DataTypes.Field... fields)Data type of a user-defined object structured type.static DataTypeDataTypes. TIME()Data type of a time WITHOUT time zoneTIMEwith no fractional seconds by default.static DataTypeDataTypes. TIME(int precision)Data type of a time WITHOUT time zoneTIME(p)wherepis the number of digits of fractional seconds (=precision).static DataTypeDataTypes. TIMESTAMP()Data type of a timestamp WITHOUT time zoneTIMESTAMPwith 6 digits of fractional seconds by default.static DataTypeDataTypes. TIMESTAMP(int precision)Data type of a timestamp WITHOUT time zoneTIMESTAMP(p)wherepis the number of digits of fractional seconds (=precision).static DataTypeDataTypes. TIMESTAMP_LTZ()Data type of a timestamp WITH LOCAL time zone.static DataTypeDataTypes. TIMESTAMP_LTZ(int precision)Data type of a timestamp WITH LOCAL time zone.static DataTypeDataTypes. TIMESTAMP_WITH_LOCAL_TIME_ZONE()Data type of a timestamp WITH LOCAL time zoneTIMESTAMP WITH LOCAL TIME ZONEwith 6 digits of fractional seconds by default.static DataTypeDataTypes. TIMESTAMP_WITH_LOCAL_TIME_ZONE(int precision)Data type of a timestamp WITH LOCAL time zoneTIMESTAMP(p) WITH LOCAL TIME ZONEwherepis the number of digits of fractional seconds (=precision).static DataTypeDataTypes. TIMESTAMP_WITH_TIME_ZONE()Data type of a timestamp WITH time zoneTIMESTAMP WITH TIME ZONEwith 6 digits of fractional seconds by default.static DataTypeDataTypes. TIMESTAMP_WITH_TIME_ZONE(int precision)Data type of a timestamp WITH time zoneTIMESTAMP(p) WITH TIME ZONEwherepis the number of digits of fractional seconds (=precision).static DataTypeDataTypes. TINYINT()Data type of a 1-byte signed integer with values from -128 to 127.static DataTypeDataTypes. VARBINARY(int n)Data type of a variable-length binary string (=a sequence of bytes)VARBINARY(n)wherenis the maximum number of bytes.static DataTypeDataTypes. VARCHAR(int n)Data type of a variable-length character stringVARCHAR(n)wherenis the maximum number of code points.Methods in org.apache.flink.table.api with parameters of type DataType Modifier and Type Method Description static DataTypeDataTypes. ARRAY(DataType elementDataType)Data type of an array of elements with same subtype.static DataTypes.FieldDataTypes. FIELD(String name, DataType dataType)Field definition with field name and data type.static DataTypes.FieldDataTypes. FIELD(String name, DataType dataType, String description)Field definition with field name, data type, and a description.Schema.BuilderSchema.Builder. fromRowDataType(DataType dataType)Adopts all fields of the given row as physical columns of the schema.static DataTypeDataTypes. MAP(DataType keyDataType, DataType valueDataType)Data type of an associative array that maps keys (includingNULL) to values (includingNULL).static DataTypeDataTypes. MULTISET(DataType elementDataType)Data type of a multiset (=bag).static DataTypeDataTypes. ROW(DataType... fieldDataTypes)Data type of a sequence of fields. -
Uses of DataType in org.apache.flink.table.api.dataview
Methods in org.apache.flink.table.api.dataview that return DataType Modifier and Type Method Description static DataTypeListView. newListViewDataType(DataType elementDataType)static DataTypeMapView. newMapViewDataType(DataType keyDataType, DataType valueDataType)Methods in org.apache.flink.table.api.dataview with parameters of type DataType Modifier and Type Method Description static DataTypeListView. newListViewDataType(DataType elementDataType)static DataTypeMapView. newMapViewDataType(DataType keyDataType, DataType valueDataType) -
Uses of DataType in org.apache.flink.table.catalog
Fields in org.apache.flink.table.catalog declared as DataType Modifier and Type Field Description protected DataTypeColumn. dataTypeMethods in org.apache.flink.table.catalog that return DataType Modifier and Type Method Description <T> DataTypeDataTypeFactory. createDataType(Class<T> clazz)Creates a type by analyzing the given class.DataTypeDataTypeFactory. createDataType(String typeString)Creates a type by a fully or partially defined name.<T> DataTypeDataTypeFactory. createDataType(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo)Creates a type for the givenTypeInformation.DataTypeDataTypeFactory. createDataType(UnresolvedIdentifier identifier)Creates a type by a fully or partially defined identifier.DataTypeDataTypeFactory. createDataType(AbstractDataType<?> abstractDataType)Creates a type out of anAbstractDataType.<T> DataTypeDataTypeFactory. createRawDataType(Class<T> clazz)Creates a RAW type for the given class in cases where no serializer is known and a generic serializer should be used.<T> DataTypeDataTypeFactory. createRawDataType(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo)Creates a RAW type for the givenTypeInformation.DataTypeColumn. getDataType()Returns the data type of this column.DataTypeTableChange.ModifyPhysicalColumnType. getNewType()Get the column type for the new column.DataTypeResolvedSchema. toPhysicalRowDataType()Converts all physical columns of this schema into a (possibly nested) row data type.DataTypeResolvedSchema. toSinkRowDataType()Converts all persisted columns of this schema into a (possibly nested) row data type.DataTypeResolvedSchema. toSourceRowDataType()Converts all columns of this schema into a (possibly nested) row data type.Methods in org.apache.flink.table.catalog that return types with arguments of type DataType Modifier and Type Method Description List<DataType>ResolvedSchema. getColumnDataTypes()Returns all column data types.Methods in org.apache.flink.table.catalog with parameters of type DataType Modifier and Type Method Description ColumnColumn.ComputedColumn. copy(DataType newDataType)abstract ColumnColumn. copy(DataType newType)Returns a copy of the column with a replacedDataType.ColumnColumn.MetadataColumn. copy(DataType newDataType)ColumnColumn.PhysicalColumn. copy(DataType newDataType)static Column.MetadataColumnColumn. metadata(String name, DataType dataType, String metadataKey, boolean isVirtual)Creates a metadata column from metadata of the given column name or from metadata of the given key (if not null).static TableChange.ModifyPhysicalColumnTypeTableChange. modifyPhysicalColumnType(Column oldColumn, DataType newType)A table change that modify the physical column data type.static Column.PhysicalColumnColumn. physical(String name, DataType dataType)Creates a regular table column that represents physical data.static ResolvedSchemaResolvedSchema. physical(String[] columnNames, DataType[] columnDataTypes)Shortcut for a resolved schema of only physical columns. -
Uses of DataType in org.apache.flink.table.connector
Methods in org.apache.flink.table.connector that return DataType Modifier and Type Method Description abstract DataTypeProjection. project(DataType dataType)Projects a (possibly nested) row data type by returning a new data type that only includes fields of the given index paths.Methods in org.apache.flink.table.connector with parameters of type DataType Modifier and Type Method Description static ProjectionProjection. all(DataType dataType)Create aProjectionof all the fields in the provideddataType.ProjectionProjection. complement(DataType dataType)LikeProjection.complement(int), using thedataTypefields count.static ProjectionProjection. fromFieldNames(DataType dataType, List<String> projectedFields)abstract DataTypeProjection. project(DataType dataType)Projects a (possibly nested) row data type by returning a new data type that only includes fields of the given index paths. -
Uses of DataType in org.apache.flink.table.connector.format
Methods in org.apache.flink.table.connector.format that return types with arguments of type DataType Modifier and Type Method Description default Map<String,DataType>DecodingFormat. listReadableMetadata()Returns the map of metadata keys and their corresponding data types that can be produced by this format for reading.default Map<String,DataType>EncodingFormat. listWritableMetadata()Returns the map of metadata keys and their corresponding data types that can be consumed by this format for writing.Methods in org.apache.flink.table.connector.format with parameters of type DataType Modifier and Type Method Description IDecodingFormat. createRuntimeDecoder(DynamicTableSource.Context context, DataType physicalDataType)Creates runtime decoder implementation that is configured to produce data of the given data type.default IProjectableDecodingFormat. createRuntimeDecoder(DynamicTableSource.Context context, DataType projectedPhysicalDataType)IProjectableDecodingFormat. createRuntimeDecoder(DynamicTableSource.Context context, DataType physicalDataType, int[][] projections)Creates runtime decoder implementation that is configured to produce data of typeProjection.of(projections).project(physicalDataType).IEncodingFormat. createRuntimeEncoder(DynamicTableSink.Context context, DataType physicalDataType)Creates runtime encoder implementation that is configured to consume data of the given data type.TableStatsFileBasedStatisticsReportableInputFormat. reportStatistics(List<org.apache.flink.core.fs.Path> files, DataType producedDataType)Returns the estimated statistics of this input format. -
Uses of DataType in org.apache.flink.table.connector.sink
Methods in org.apache.flink.table.connector.sink with parameters of type DataType Modifier and Type Method Description DynamicTableSink.DataStructureConverterDynamicTableSink.Context. createDataStructureConverter(DataType consumedDataType)Creates a converter for mapping between Flink's internal data structures and objects specified by the givenDataTypethat can be passed into a runtime implementation.<T> org.apache.flink.api.common.typeinfo.TypeInformation<T>DynamicTableSink.Context. createTypeInformation(DataType consumedDataType)Creates type information describing the internal data structures of the givenDataType. -
Uses of DataType in org.apache.flink.table.connector.sink.abilities
Methods in org.apache.flink.table.connector.sink.abilities that return types with arguments of type DataType Modifier and Type Method Description Map<String,DataType>SupportsWritingMetadata. listWritableMetadata()Returns the map of metadata keys and their corresponding data types that can be consumed by this table sink for writing.Methods in org.apache.flink.table.connector.sink.abilities with parameters of type DataType Modifier and Type Method Description voidSupportsWritingMetadata. applyWritableMetadata(List<String> metadataKeys, DataType consumedDataType)Provides a list of metadata keys that the consumedRowDatawill contain as appended metadata columns which must be persisted. -
Uses of DataType in org.apache.flink.table.connector.source
Methods in org.apache.flink.table.connector.source with parameters of type DataType Modifier and Type Method Description DynamicTableSource.DataStructureConverterDynamicTableSource.Context. createDataStructureConverter(DataType producedDataType)Creates a converter for mapping between objects specified by the givenDataTypeand Flink's internal data structures that can be passed into a runtime implementation.<T> org.apache.flink.api.common.typeinfo.TypeInformation<T>DynamicTableSource.Context. createTypeInformation(DataType producedDataType)Creates type information describing the internal data structures of the givenDataType. -
Uses of DataType in org.apache.flink.table.connector.source.abilities
Methods in org.apache.flink.table.connector.source.abilities that return types with arguments of type DataType Modifier and Type Method Description Map<String,DataType>SupportsReadingMetadata. listReadableMetadata()Returns the map of metadata keys and their corresponding data types that can be produced by this table source for reading.Methods in org.apache.flink.table.connector.source.abilities with parameters of type DataType Modifier and Type Method Description booleanSupportsAggregatePushDown. applyAggregates(List<int[]> groupingSets, List<AggregateExpression> aggregateExpressions, DataType producedDataType)Provides a list of aggregate expressions and the grouping keys.default voidSupportsProjectionPushDown. applyProjection(int[][] projectedFields, DataType producedDataType)Provides the field index paths that should be used for a projection.voidSupportsReadingMetadata. applyReadableMetadata(List<String> metadataKeys, DataType producedDataType)Provides a list of metadata keys that the producedRowDatamust contain as appended metadata columns. -
Uses of DataType in org.apache.flink.table.descriptors
Methods in org.apache.flink.table.descriptors that return DataType Modifier and Type Method Description DataTypeDescriptorProperties. getDataType(String key)Deprecated.Returns the DataType under the given existing key.Methods in org.apache.flink.table.descriptors that return types with arguments of type DataType Modifier and Type Method Description Optional<DataType>DescriptorProperties. getOptionalDataType(String key)Deprecated.Returns the DataType under the given key if it exists. -
Uses of DataType in org.apache.flink.table.expressions
Methods in org.apache.flink.table.expressions that return DataType Modifier and Type Method Description DataTypeAggregateExpression. getOutputDataType()DataTypeCallExpression. getOutputDataType()DataTypeFieldReferenceExpression. getOutputDataType()DataTypeNestedFieldReferenceExpression. getOutputDataType()DataTypeResolvedExpression. getOutputDataType()Returns the data type of the computation result.DataTypeTypeLiteralExpression. getOutputDataType()DataTypeValueLiteralExpression. getOutputDataType()Methods in org.apache.flink.table.expressions with parameters of type DataType Modifier and Type Method Description static CallExpressionCallExpression. anonymous(FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType)Creates aCallExpressionto an anonymous function that has been declared inline without aFunctionIdentifier.static CallExpressionCallExpression. permanent(BuiltInFunctionDefinition builtInFunctionDefinition, List<ResolvedExpression> args, DataType dataType)Creates aCallExpressionto a resolved built-in function.static CallExpressionCallExpression. permanent(FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType)CallExpressionCallExpression. replaceArgs(List<ResolvedExpression> args, DataType dataType)static CallExpressionCallExpression. temporary(FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType)Creates aCallExpressionto a temporary function (potentially shadowing aCatalogfunction or providing a system function).Constructors in org.apache.flink.table.expressions with parameters of type DataType Constructor Description AggregateExpression(FunctionDefinition functionDefinition, List<FieldReferenceExpression> args, CallExpression filterExpression, DataType resultType, boolean distinct, boolean approximate, boolean ignoreNulls)CallExpression(boolean isTemporary, FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType)CallExpression(FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType)Deprecated.CallExpression(FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType)FieldReferenceExpression(String name, DataType dataType, int inputIndex, int fieldIndex)NestedFieldReferenceExpression(String[] fieldNames, int[] fieldIndices, DataType dataType)TypeLiteralExpression(DataType dataType)ValueLiteralExpression(Object value, DataType dataType) -
Uses of DataType in org.apache.flink.table.factories
Methods in org.apache.flink.table.factories that return DataType Modifier and Type Method Description default DataTypeDynamicTableFactory.Context. getPhysicalRowDataType()Returns the physical schema to use for encoding and decoding records. -
Uses of DataType in org.apache.flink.table.functions
Methods in org.apache.flink.table.functions with parameters of type DataType Modifier and Type Method Description SpecializedFunction.ExpressionEvaluatorSpecializedFunction.ExpressionEvaluatorFactory. createEvaluator(String sqlExpression, DataType outputDataType, DataTypes.Field... args)Shorthand forcreateEvaluator(callSql("..."), ...).SpecializedFunction.ExpressionEvaluatorSpecializedFunction.ExpressionEvaluatorFactory. createEvaluator(Expression expression, DataType outputDataType, DataTypes.Field... args)Creates a serializable factory that can be passed into aUserDefinedFunctionfor evaluating anExpressionduring runtime.SpecializedFunction.ExpressionEvaluatorSpecializedFunction.ExpressionEvaluatorFactory. createEvaluator(BuiltInFunctionDefinition function, DataType outputDataType, DataType... args)Creates a serializable factory that can be passed into aUserDefinedFunctionfor evaluating aBuiltInFunctionDefinitionduring runtime.BuiltInFunctionDefinition.BuilderBuiltInFunctionDefinition.Builder. typedArguments(DataType... argumentTypes) -
Uses of DataType in org.apache.flink.table.functions.python
Constructors in org.apache.flink.table.functions.python with parameters of type DataType Constructor Description PythonAggregateFunction(String name, byte[] serializedAggregateFunction, DataType[] inputTypes, DataType resultType, DataType accumulatorType, PythonFunctionKind pythonFunctionKind, boolean deterministic, boolean takesRowAsInput, PythonEnv pythonEnv)PythonScalarFunction(String name, byte[] serializedScalarFunction, DataType[] inputTypes, DataType resultType, PythonFunctionKind pythonFunctionKind, boolean deterministic, boolean takesRowAsInput, PythonEnv pythonEnv)PythonTableAggregateFunction(String name, byte[] serializedTableAggregateFunction, DataType[] inputTypes, DataType resultType, DataType accumulatorType, PythonFunctionKind pythonFunctionKind, boolean deterministic, boolean takesRowAsInput, PythonEnv pythonEnv)PythonTableFunction(String name, byte[] serializedScalarFunction, DataType[] inputTypes, DataType resultType, PythonFunctionKind pythonFunctionKind, boolean deterministic, boolean takesRowAsInput, PythonEnv pythonEnv) -
Uses of DataType in org.apache.flink.table.legacy.api
Methods in org.apache.flink.table.legacy.api that return DataType Modifier and Type Method Description DataType[]TableSchema. getFieldDataTypes()Deprecated.Returns all field data types as an array.DataTypeTableColumn. getType()Deprecated.Returns the data type of this column.DataTypeWatermarkSpec. getWatermarkExprOutputType()Deprecated.Returns the data type of the computation result of watermark generation expression.DataTypeTableSchema. toPersistedRowDataType()Deprecated.Converts all persisted columns of this schema into a (possibly nested) row data type.DataTypeTableSchema. toPhysicalRowDataType()Deprecated.Converts all physical columns of this schema into a (possibly nested) row data type.DataTypeTableSchema. toRowDataType()Deprecated.Converts all columns of this schema into a (possibly nested) row data type.Methods in org.apache.flink.table.legacy.api that return types with arguments of type DataType Modifier and Type Method Description Optional<DataType>TableSchema. getFieldDataType(int fieldIndex)Deprecated.Returns the specified data type for the given field index.Optional<DataType>TableSchema. getFieldDataType(String fieldName)Deprecated.Returns the specified data type for the given field name.Methods in org.apache.flink.table.legacy.api with parameters of type DataType Modifier and Type Method Description static TableColumn.ComputedColumnTableColumn. computed(String name, DataType type, String expression)Deprecated.Creates a computed column that is computed from the given SQL expression.TableSchema.BuilderTableSchema.Builder. field(String name, DataType dataType)Add a field with name and data type.TableSchema.BuilderTableSchema.Builder. field(String name, DataType dataType, String expression)Add a computed field which is generated by the given expression.TableSchema.BuilderTableSchema.Builder. fields(String[] names, DataType[] dataTypes)Add an array of fields with names and data types.static TableColumn.MetadataColumnTableColumn. metadata(String name, DataType type)Deprecated.Creates a metadata column from metadata of the given column name.static TableColumn.MetadataColumnTableColumn. metadata(String name, DataType type, boolean isVirtual)Deprecated.Creates a metadata column from metadata of the given column name.static TableColumn.MetadataColumnTableColumn. metadata(String name, DataType type, String metadataAlias)Deprecated.Creates a metadata column from metadata of the given alias.static TableColumn.MetadataColumnTableColumn. metadata(String name, DataType type, String metadataAlias, boolean isVirtual)Deprecated.Creates a metadata column from metadata of the given column name or from metadata of the given alias (if not null).static TableColumnTableColumn. of(String name, DataType type)Deprecated.UseTableColumn.physical(String, DataType)instead.static TableColumnTableColumn. of(String name, DataType type, String expression)Deprecated.UseTableColumn.computed(String, DataType, String)instead.static TableColumn.PhysicalColumnTableColumn. physical(String name, DataType type)Deprecated.Creates a regular table column that represents physical data.TableSchema.BuilderTableSchema.Builder. watermark(String rowtimeAttribute, String watermarkExpressionString, DataType watermarkExprOutputType)Specifies the previously defined field as an event-time attribute and specifies the watermark strategy.Constructors in org.apache.flink.table.legacy.api with parameters of type DataType Constructor Description WatermarkSpec(String rowtimeAttribute, String watermarkExpressionString, DataType watermarkExprOutputType)Deprecated. -
Uses of DataType in org.apache.flink.table.legacy.descriptors
Methods in org.apache.flink.table.legacy.descriptors with parameters of type DataType Modifier and Type Method Description SchemaSchema. field(String fieldName, DataType fieldType)Deprecated.Adds a field with the field name and the data type. -
Uses of DataType in org.apache.flink.table.legacy.sinks
Methods in org.apache.flink.table.legacy.sinks that return DataType Modifier and Type Method Description default DataTypeTableSink. getConsumedDataType()Deprecated.Returns the data type consumed by thisTableSink. -
Uses of DataType in org.apache.flink.table.legacy.sources
Methods in org.apache.flink.table.legacy.sources that return DataType Modifier and Type Method Description default DataTypeTableSource. getProducedDataType()Deprecated.Returns theDataTypefor the produced data of theTableSource. -
Uses of DataType in org.apache.flink.table.sources.tsextractors
Methods in org.apache.flink.table.sources.tsextractors with parameters of type DataType Modifier and Type Method Description static ResolvedFieldReference[]TimestampExtractorUtils. getAccessedFields(TimestampExtractor timestampExtractor, DataType physicalInputType, Function<String,String> nameRemapping)Retrieves all field accesses needed for the givenTimestampExtractor. -
Uses of DataType in org.apache.flink.table.types
Subclasses of DataType in org.apache.flink.table.types Modifier and Type Class Description classAtomicDataTypeA data type that does not contain further data types (e.g.classCollectionDataTypeA data type that contains an element type (e.g.classFieldsDataTypeA data type that contains field data types (i.e. row and structured type).classKeyValueDataTypeA data type that contains a key and value data type (e.g.Methods in org.apache.flink.table.types that return DataType Modifier and Type Method Description DataTypeAtomicDataType. bridgedTo(Class<?> newConversionClass)DataTypeCollectionDataType. bridgedTo(Class<?> newConversionClass)DataTypeFieldsDataType. bridgedTo(Class<?> newConversionClass)DataTypeKeyValueDataType. bridgedTo(Class<?> newConversionClass)DataTypeDataTypeQueryable. getDataType()DataTypeCollectionDataType. getElementDataType()DataTypeKeyValueDataType. getKeyDataType()DataTypeKeyValueDataType. getValueDataType()DataTypeAtomicDataType. notNull()DataTypeCollectionDataType. notNull()DataTypeFieldsDataType. notNull()DataTypeKeyValueDataType. notNull()DataTypeAtomicDataType. nullable()DataTypeCollectionDataType. nullable()DataTypeFieldsDataType. nullable()DataTypeKeyValueDataType. nullable()DataTypeUnresolvedDataType. toDataType(DataTypeFactory factory)Converts this instance to a resolvedDataTypepossibly enriched with additional nullability and conversion class information.DataTypeDataType. toInternal()Creates a copy of thisDataTypeinstance with the internal data type conversion classes.Methods in org.apache.flink.table.types that return types with arguments of type DataType Modifier and Type Method Description List<DataType>AtomicDataType. getChildren()List<DataType>CollectionDataType. getChildren()abstract List<DataType>DataType. getChildren()Returns the children of this data type, if any.List<DataType>FieldsDataType. getChildren()List<DataType>KeyValueDataType. getChildren()static List<DataType>DataType. getFieldDataTypes(DataType dataType)Returns the first-level field data types for the providedDataType.Methods in org.apache.flink.table.types with parameters of type DataType Modifier and Type Method Description static intDataType. getFieldCount(DataType dataType)Returns the count of the first-level fields for the providedDataType.static List<DataType>DataType. getFieldDataTypes(DataType dataType)Returns the first-level field data types for the providedDataType.static List<String>DataType. getFieldNames(DataType dataType)Returns the first-level field names for the providedDataType.static List<DataTypes.Field>DataType. getFields(DataType dataType)Returns an ordered list of fields starting from the providedDataType.Constructors in org.apache.flink.table.types with parameters of type DataType Constructor Description CollectionDataType(LogicalType logicalType, Class<?> conversionClass, DataType elementDataType)CollectionDataType(LogicalType logicalType, DataType elementDataType)KeyValueDataType(LogicalType logicalType, Class<?> conversionClass, DataType keyDataType, DataType valueDataType)KeyValueDataType(LogicalType logicalType, DataType keyDataType, DataType valueDataType)Constructor parameters in org.apache.flink.table.types with type arguments of type DataType Constructor Description FieldsDataType(LogicalType logicalType, Class<?> conversionClass, List<DataType> fieldDataTypes)FieldsDataType(LogicalType logicalType, List<DataType> fieldDataTypes)UnresolvedDataType(Supplier<String> description, Function<DataTypeFactory,DataType> resolutionFactory) -
Uses of DataType in org.apache.flink.table.types.extraction
Methods in org.apache.flink.table.types.extraction that return DataType Modifier and Type Method Description static DataTypeDataTypeExtractor. extractFromGeneric(DataTypeFactory typeFactory, Class<?> baseClass, int genericPos, Type contextType)Extracts a data type from a type variable atgenericPosofbaseClassusing the information of the most specific typecontextType.static DataTypeDataTypeExtractor. extractFromGenericMethodParameter(DataTypeFactory typeFactory, Class<?> baseClass, Method method, int paramPos, int genericPos)Extracts a data type from a method parameter by considering surrounding classes and parameter annotation.static DataTypeDataTypeExtractor. extractFromMethodOutput(DataTypeFactory typeFactory, Class<?> baseClass, Method method)Extracts a data type from a method return type by considering surrounding classes and method annotation.static DataTypeDataTypeExtractor. extractFromMethodOutput(DataTypeFactory typeFactory, Class<?> baseClass, Method method, Type methodReturnType)Extracts a data type from a method return type with specifying the method's type explicitly by considering surrounding classes and method annotation.static DataTypeDataTypeExtractor. extractFromMethodParameter(DataTypeFactory typeFactory, Class<?> baseClass, Method method, int paramPos)Extracts a data type from a method parameter by considering surrounding classes and parameter annotation.static DataTypeDataTypeExtractor. extractFromType(DataTypeFactory typeFactory, Type type)Extracts a data type from a type without considering surrounding classes or templates.static DataTypeDataTypeExtractor. extractFromType(DataTypeFactory typeFactory, org.apache.flink.table.types.extraction.DataTypeTemplate template, Type type)Extracts a data type from a type without considering surrounding classes but templates. -
Uses of DataType in org.apache.flink.table.types.inference
Methods in org.apache.flink.table.types.inference that return DataType Modifier and Type Method Description DataTypeTypeInferenceUtil.Result. getOutputDataType()static DataTypeTypeInferenceUtil. inferOutputType(CallContext callContext, TypeStrategy outputTypeStrategy)Infers an output type using the givenTypeStrategy.default DataTypeTypeTransformation. transform(DataTypeFactory factory, DataType typeToTransform)Transforms the given data type to a different data type.DataTypeTypeTransformation. transform(DataType typeToTransform)Transforms the given data type to a different data type.Methods in org.apache.flink.table.types.inference that return types with arguments of type DataType Modifier and Type Method Description Optional<DataType>TypeInferenceUtil.Result. getAccumulatorDataType()List<DataType>CallContext. getArgumentDataTypes()Returns a resolved list of the call's argument types.List<DataType>TypeInferenceUtil.Result. getExpectedArgumentTypes()Optional<DataType>CallContext. getOutputDataType()Returns the inferred output data type of the function call.Optional<List<DataType>>TypeInference. getTypedArguments()Optional<DataType>ArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Main logic for inferring and validating an argument.Optional<List<DataType>>InputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Main logic for inferring and validating the input arguments.Optional<DataType>TypeInferenceUtil.SurroundingInfo. inferOutputType(DataTypeFactory typeFactory)Optional<DataType>TypeStrategy. inferType(CallContext callContext)Infers a type from the given function call.Methods in org.apache.flink.table.types.inference with parameters of type DataType Modifier and Type Method Description static CallContextTypeInferenceUtil. adaptArguments(TypeInference typeInference, CallContext callContext, DataType outputType)Adapts the call's argument if necessary.static ExplicitArgumentTypeStrategyInputTypeStrategies. explicit(DataType expectedDataType)Strategy for an argument that corresponds to an explicitly defined type casting.static TypeStrategyTypeStrategies. explicit(DataType dataType)Type strategy that returns a fixedDataType.static InputTypeStrategyInputTypeStrategies. explicitSequence(String[] argumentNames, DataType[] expectedDataTypes)Strategy for a named function signature of explicitly defined types likef(s STRING, i INT).static InputTypeStrategyInputTypeStrategies. explicitSequence(DataType... expectedDataTypes)Strategy for a function signature of explicitly defined types likef(STRING, INT).static TypeInferenceUtil.SurroundingInfoTypeInferenceUtil.SurroundingInfo. of(DataType dataType)default DataTypeTypeTransformation. transform(DataTypeFactory factory, DataType typeToTransform)Transforms the given data type to a different data type.DataTypeTypeTransformation. transform(DataType typeToTransform)Transforms the given data type to a different data type.TypeInference.BuilderTypeInference.Builder. typedArguments(DataType... argumentTypes)Method parameters in org.apache.flink.table.types.inference with type arguments of type DataType Modifier and Type Method Description static TypeStrategyTypeStrategies. argument(int pos, Function<DataType,Optional<DataType>> mapper)Type strategy that returns the n-th input argument, mapping it.static TypeStrategyTypeStrategies. argument(int pos, Function<DataType,Optional<DataType>> mapper)Type strategy that returns the n-th input argument, mapping it.static ConstraintArgumentTypeStrategyInputTypeStrategies. constraint(String constraintMessage, Predicate<List<DataType>> evaluator)Strategy for an argument that must fulfill a given constraint.TypeInference.BuilderTypeInference.Builder. typedArguments(List<DataType> argumentTypes)Sets the list of argument types for specifying a fixed, not overloaded, not vararg input signature explicitly.Constructors in org.apache.flink.table.types.inference with parameters of type DataType Constructor Description Result(List<DataType> expectedArgumentTypes, DataType accumulatorDataType, DataType outputDataType)Constructor parameters in org.apache.flink.table.types.inference with type arguments of type DataType Constructor Description Result(List<DataType> expectedArgumentTypes, DataType accumulatorDataType, DataType outputDataType) -
Uses of DataType in org.apache.flink.table.types.inference.strategies
Methods in org.apache.flink.table.types.inference.strategies that return types with arguments of type DataType Modifier and Type Method Description Optional<DataType>AndArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>AnyArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>ArrayComparableElementArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>ArrayOfStringArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>CommonArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>CompositeArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>ConstraintArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>ExplicitArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>FamilyArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>IndexArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>ItemAtIndexArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>JsonQueryOnErrorEmptyArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>LiteralArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>OrArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>OutputArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>PercentageArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>PercentageArrayArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>RootArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>SymbolArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<DataType>TypeLiteralArgumentTypeStrategy. inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure)Optional<List<DataType>>CommonCollectionInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>CommonInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>ComparableTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>OrInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>OverTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>ReinterpretCastInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>RepeatingSequenceInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>SequenceInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>SubQueryInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>SubsequenceInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>VaryingSequenceInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>WildcardInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<List<DataType>>WindowTimeIndictorInputTypeStrategy. inferInputTypes(CallContext callContext, boolean throwOnFailure)Optional<DataType>ArgumentMappingTypeStrategy. inferType(CallContext callContext)Optional<DataType>ArrayAppendPrependTypeStrategy. inferType(CallContext callContext)Optional<DataType>ArrayElementTypeStrategy. inferType(CallContext callContext)Optional<DataType>CollectTypeStrategy. inferType(CallContext callContext)Optional<DataType>CommonTypeStrategy. inferType(CallContext callContext)Optional<DataType>ExplicitTypeStrategy. inferType(CallContext callContext)Optional<DataType>FirstTypeStrategy. inferType(CallContext callContext)Optional<DataType>ForceNullableTypeStrategy. inferType(CallContext callContext)Optional<DataType>HiveAggDecimalPlusTypeStrategy. inferType(CallContext callContext)Optional<DataType>ItemAtTypeStrategy. inferType(CallContext callContext)Optional<DataType>MappingTypeStrategy. inferType(CallContext callContext)Optional<DataType>MatchFamilyTypeStrategy. inferType(CallContext callContext)Optional<DataType>MissingTypeStrategy. inferType(CallContext callContext)Optional<DataType>NullableIfArgsTypeStrategy. inferType(CallContext callContext)Optional<DataType>RowtimeTypeStrategy. inferType(CallContext callContext)Optional<DataType>ToTimestampLtzTypeStrategy. inferType(CallContext callContext)Optional<DataType>VaryingStringTypeStrategy. inferType(CallContext callContext)Constructors in org.apache.flink.table.types.inference.strategies with parameters of type DataType Constructor Description ExplicitArgumentTypeStrategy(DataType expectedDataType)ExplicitTypeStrategy(DataType explicitDataType)Constructor parameters in org.apache.flink.table.types.inference.strategies with type arguments of type DataType Constructor Description ArgumentMappingTypeStrategy(int pos, Function<DataType,Optional<DataType>> mapper)ArgumentMappingTypeStrategy(int pos, Function<DataType,Optional<DataType>> mapper)ConstraintArgumentTypeStrategy(String constraintMessage, Predicate<List<DataType>> evaluator) -
Uses of DataType in org.apache.flink.table.types.inference.transforms
Methods in org.apache.flink.table.types.inference.transforms that return DataType Modifier and Type Method Description DataTypeDataTypeConversionClassTransformation. transform(DataType dataType)DataTypeLegacyRawTypeTransformation. transform(DataType typeToTransform)DataTypeLegacyToNonLegacyTransformation. transform(DataTypeFactory factory, DataType dataType)DataTypeLegacyToNonLegacyTransformation. transform(DataType typeToTransform)Methods in org.apache.flink.table.types.inference.transforms with parameters of type DataType Modifier and Type Method Description DataTypeDataTypeConversionClassTransformation. transform(DataType dataType)DataTypeLegacyRawTypeTransformation. transform(DataType typeToTransform)DataTypeLegacyToNonLegacyTransformation. transform(DataTypeFactory factory, DataType dataType)DataTypeLegacyToNonLegacyTransformation. transform(DataType typeToTransform) -
Uses of DataType in org.apache.flink.table.types.inference.utils
Methods in org.apache.flink.table.types.inference.utils that return types with arguments of type DataType Modifier and Type Method Description List<DataType>AdaptedCallContext. getArgumentDataTypes()List<DataType>UnknownCallContext. getArgumentDataTypes()Optional<DataType>AdaptedCallContext. getOutputDataType()Optional<DataType>UnknownCallContext. getOutputDataType()Method parameters in org.apache.flink.table.types.inference.utils with type arguments of type DataType Modifier and Type Method Description voidAdaptedCallContext. setExpectedArguments(List<DataType> expectedArguments)Constructors in org.apache.flink.table.types.inference.utils with parameters of type DataType Constructor Description AdaptedCallContext(CallContext originalContext, DataType outputDataType) -
Uses of DataType in org.apache.flink.table.types.utils
Methods in org.apache.flink.table.types.utils that return DataType Modifier and Type Method Description static DataTypeDataTypeUtils. appendRowFields(DataType dataType, List<DataTypes.Field> fields)Appends the given list of fields to an existing row data type.static DataTypeDataTypeUtils. createProctimeDataType()Returns a PROCTIME data type.static DataTypeTypeConversions. fromLegacyInfoToDataType(org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo)Deprecated.Please don't use this method anymore.static DataType[]TypeConversions. fromLegacyInfoToDataType(org.apache.flink.api.common.typeinfo.TypeInformation<?>[] typeInfo)Deprecated.Please don't use this method anymore.static DataTypeTypeConversions. fromLogicalToDataType(LogicalType logicalType)static DataType[]TypeConversions. fromLogicalToDataType(LogicalType[] logicalTypes)static DataTypeDataTypeUtils. projectRow(DataType dataType, int[] indexPaths)Deprecated.Use theProjectiontypestatic DataTypeDataTypeUtils. projectRow(DataType dataType, int[][] indexPaths)Deprecated.Use theProjectiontypestatic DataTypeDataTypeUtils. removeTimeAttribute(DataType dataType)Removes time attributes from theDataType.static DataTypeDataTypeUtils. replaceLogicalType(DataType dataType, LogicalType replacement)Replaces theLogicalTypeof aDataType, i.e., it keeps the bridging class.static DataTypeDataTypeUtils. stripRowPrefix(DataType dataType, String prefix)Removes a string prefix from the fields of the given row data type.static DataTypeLegacyTypeInfoDataTypeConverter. toDataType(org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo)Deprecated.static DataTypeLogicalTypeDataTypeConverter. toDataType(LogicalType logicalType)Returns the data type of a logical type without explicit conversions.static DataTypeTypeInfoDataTypeConverter. toDataType(DataTypeFactory dataTypeFactory, org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo)Converts the givenTypeInformationintoDataType.static DataTypeTypeInfoDataTypeConverter. toDataType(DataTypeFactory dataTypeFactory, org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo, boolean forceNullability)Converts the givenTypeInformationintoDataTypebut allows to make all fields nullable independent of the nullability in the serialization stack.static DataTypeDataTypeUtils. toInternalDataType(DataType dataType)static DataTypeDataTypeUtils. toInternalDataType(LogicalType logicalType)Creates aDataTypefrom the givenLogicalTypewith internal data structures.static DataTypeDataTypeUtils. transform(DataTypeFactory factory, DataType typeToTransform, TypeTransformation... transformations)Transforms the given data type to a different data type using the given transformations.static DataTypeDataTypeUtils. transform(DataType typeToTransform, TypeTransformation... transformations)Transforms the given data type to a different data type using the given transformations.Methods in org.apache.flink.table.types.utils that return types with arguments of type DataType Modifier and Type Method Description static Optional<DataType>ClassDataTypeConverter. extractDataType(Class<?> clazz)Returns the clearly identifiable data type if possible.static Optional<DataType>ValueDataTypeConverter. extractDataType(Object value)Returns the clearly identifiable data type if possible.static List<DataType>DataTypeUtils. flattenToDataTypes(DataType dataType)Returns the data types of the flat representation in the first level of the given data type.static Optional<DataType>TypeConversions. fromClassToDataType(Class<?> clazz)static Optional<DataType>DataTypeUtils. getField(DataType compositeType, int index)Retrieves a nested field from a composite type at given position.static Optional<DataType>DataTypeUtils. getField(DataType compositeType, String name)Retrieves a nested field from a composite type with given name.Methods in org.apache.flink.table.types.utils with parameters of type DataType Modifier and Type Method Description static DataTypeDataTypeUtils. appendRowFields(DataType dataType, List<DataTypes.Field> fields)Appends the given list of fields to an existing row data type.protected abstract RDataTypeDefaultVisitor. defaultMethod(DataType dataType)static ResolvedSchemaDataTypeUtils. expandCompositeTypeToSchema(DataType dataType)Expands a compositeDataTypeto a correspondingResolvedSchema.static List<DataType>DataTypeUtils. flattenToDataTypes(DataType dataType)Returns the data types of the flat representation in the first level of the given data type.static List<String>DataTypeUtils. flattenToNames(DataType dataType)Returns the names of the flat representation of the given data type.static List<String>DataTypeUtils. flattenToNames(DataType dataType, List<String> existingNames)static LogicalTypeTypeConversions. fromDataToLogicalType(DataType dataType)static LogicalType[]TypeConversions. fromDataToLogicalType(DataType[] dataTypes)static org.apache.flink.api.common.typeinfo.TypeInformation<?>TypeConversions. fromDataTypeToLegacyInfo(DataType dataType)Deprecated.Please don't use this method anymore.static org.apache.flink.api.common.typeinfo.TypeInformation<?>[]TypeConversions. fromDataTypeToLegacyInfo(DataType[] dataType)Deprecated.Please don't use this method anymore.static Optional<DataType>DataTypeUtils. getField(DataType compositeType, int index)Retrieves a nested field from a composite type at given position.static Optional<DataType>DataTypeUtils. getField(DataType compositeType, String name)Retrieves a nested field from a composite type with given name.static booleanDataTypeUtils. isInternal(DataType dataType)Checks whether a given data type is an internal data structure.static booleanDataTypeUtils. isInternal(DataType dataType, boolean autobox)Checks whether a given data type is an internal data structure.static DataTypeDataTypeUtils. projectRow(DataType dataType, int[] indexPaths)Deprecated.Use theProjectiontypestatic DataTypeDataTypeUtils. projectRow(DataType dataType, int[][] indexPaths)Deprecated.Use theProjectiontypestatic DataTypeDataTypeUtils. removeTimeAttribute(DataType dataType)Removes time attributes from theDataType.static DataTypeDataTypeUtils. replaceLogicalType(DataType dataType, LogicalType replacement)Replaces theLogicalTypeof aDataType, i.e., it keeps the bridging class.static DataTypeDataTypeUtils. stripRowPrefix(DataType dataType, String prefix)Removes a string prefix from the fields of the given row data type.static DataTypeDataTypeUtils. toInternalDataType(DataType dataType)static org.apache.flink.api.common.typeinfo.TypeInformation<?>LegacyTypeInfoDataTypeConverter. toLegacyTypeInfo(DataType dataType)Deprecated.static LogicalTypeLogicalTypeDataTypeConverter. toLogicalType(DataType dataType)Returns the logical type of a data type.static DataTypeDataTypeUtils. transform(DataTypeFactory factory, DataType typeToTransform, TypeTransformation... transformations)Transforms the given data type to a different data type using the given transformations.static DataTypeDataTypeUtils. transform(DataType typeToTransform, TypeTransformation... transformations)Transforms the given data type to a different data type using the given transformations.static voidDataTypeUtils. validateInputDataType(DataType dataType)TheDataTypeclass can only partially verify the conversion class.static voidDataTypeUtils. validateOutputDataType(DataType dataType)TheDataTypeclass can only partially verify the conversion class. -
Uses of DataType in org.apache.flink.table.typeutils
Methods in org.apache.flink.table.typeutils that return DataType Modifier and Type Method Description DataTypeTimeIntervalTypeInfo. getDataType()Deprecated. -
Uses of DataType in org.apache.flink.table.utils
Methods in org.apache.flink.table.utils with parameters of type DataType Modifier and Type Method Description static int[]TypeMappingUtils. computePhysicalIndices(List<TableColumn> logicalColumns, DataType physicalType, Function<String,String> nameRemapping)Computes indices of physical fields corresponding to the selected logical fields of aTableSchema.static ObjectPartitionPathUtils. convertStringToInternalValue(String valStr, DataType type)Restore partition value from string and type.static GenericRowDataPartitionPathUtils. fillPartitionValueForRecord(String[] fieldNames, DataType[] fieldTypes, int[] selectFields, List<String> partitionKeys, org.apache.flink.core.fs.Path path, String defaultPartValue)Extract partition value from path and fill to record.
-