public static final class ProtobufUtils.ProtobufSchemaFieldCacheEntry extends Object
| Constructor and Description |
|---|
ProtobufSchemaFieldCacheEntry(org.apache.spark.sql.types.DataType sparkType,
boolean nullable,
com.google.protobuf.Descriptors.Descriptor nestedTypeDescriptor,
com.google.protobuf.Descriptors.FieldDescriptor fieldDescriptor,
Optional<TypeConverter> typeConverterOptional,
Optional<SupportedCustomDataType> customDataTypeOptional) |
| Modifier and Type | Method and Description |
|---|---|
Optional<SupportedCustomDataType> |
getCustomDataTypeOptional() |
com.google.protobuf.Descriptors.FieldDescriptor |
getFieldDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getNestedTypeDescriptor() |
boolean |
getNullable() |
org.apache.spark.sql.types.DataType |
getSparkType() |
Optional<TypeConverter> |
getTypeConverterOptional() |
public ProtobufSchemaFieldCacheEntry(org.apache.spark.sql.types.DataType sparkType,
boolean nullable,
com.google.protobuf.Descriptors.Descriptor nestedTypeDescriptor,
com.google.protobuf.Descriptors.FieldDescriptor fieldDescriptor,
Optional<TypeConverter> typeConverterOptional,
Optional<SupportedCustomDataType> customDataTypeOptional)
public org.apache.spark.sql.types.DataType getSparkType()
public boolean getNullable()
public com.google.protobuf.Descriptors.Descriptor getNestedTypeDescriptor()
public com.google.protobuf.Descriptors.FieldDescriptor getFieldDescriptor()
public Optional<TypeConverter> getTypeConverterOptional()
public Optional<SupportedCustomDataType> getCustomDataTypeOptional()
Copyright © 2024. All rights reserved.