public class TypeInference extends Object
| Constructor and Description |
|---|
TypeInference() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.arrow.vector.types.pojo.Field |
arrayInferField(Class<?> arrayClz,
Class<?> clz) |
static org.apache.arrow.vector.types.pojo.Field |
arrayInferField(TypeRef<?> arrayTypeRef,
TypeRef<?> typeRef)
Infer the field of the list.
|
static org.apache.arrow.vector.types.pojo.Field |
arrayInferField(Type arrayType,
Type type) |
static Optional<org.apache.arrow.vector.types.pojo.ArrowType> |
getDataType(Class<?> cls) |
static Optional<org.apache.arrow.vector.types.pojo.ArrowType> |
getDataType(TypeRef<?> typeRef) |
static org.apache.arrow.vector.types.pojo.ArrowType |
inferDataType(TypeRef<?> typeRef) |
static org.apache.arrow.vector.types.pojo.Schema |
inferSchema(Class<?> clz) |
static org.apache.arrow.vector.types.pojo.Schema |
inferSchema(Type type) |
static org.apache.arrow.vector.types.pojo.Schema |
inferSchema(TypeRef<?> typeRef)
Infer the schema for class.
|
static org.apache.arrow.vector.types.pojo.Schema |
inferSchema(TypeRef<?> typeRef,
boolean forStruct) |
static String |
inferTypeName(TypeRef<?> token) |
public static org.apache.arrow.vector.types.pojo.Schema inferSchema(Type type)
public static org.apache.arrow.vector.types.pojo.Schema inferSchema(Class<?> clz)
public static org.apache.arrow.vector.types.pojo.Schema inferSchema(TypeRef<?> typeRef)
typeRef - bean class typepublic static org.apache.arrow.vector.types.pojo.Schema inferSchema(TypeRef<?> typeRef, boolean forStruct)
public static Optional<org.apache.arrow.vector.types.pojo.ArrowType> getDataType(Class<?> cls)
public static Optional<org.apache.arrow.vector.types.pojo.ArrowType> getDataType(TypeRef<?> typeRef)
public static org.apache.arrow.vector.types.pojo.ArrowType inferDataType(TypeRef<?> typeRef)
public static org.apache.arrow.vector.types.pojo.Field arrayInferField(Type arrayType, Type type)
public static org.apache.arrow.vector.types.pojo.Field arrayInferField(Class<?> arrayClz, Class<?> clz)
public static org.apache.arrow.vector.types.pojo.Field arrayInferField(TypeRef<?> arrayTypeRef, TypeRef<?> typeRef)
typeRef - bean class typeCopyright © 2023-2024, The Apache Software Foundation. Apache Fury™, Fury™, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.