public class HiveUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ColumnStatisticsInfo |
toProto(org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj colStats)
Convert ColumnStatisticsObj to proto definition.
|
static java.util.List<FieldSchema> |
toProto(java.util.List<org.apache.hadoop.hive.metastore.api.FieldSchema> hiveSchema) |
static Storage |
toProto(org.apache.hadoop.hive.metastore.api.StorageDescriptor sd,
PathTranslator translator)
Convert from a StorageDescriptor to a Storage object.
|
static Schema |
toProtoSchema(java.util.List<org.apache.hadoop.hive.metastore.api.FieldSchema> hiveSchema) |
public static Schema toProtoSchema(java.util.List<org.apache.hadoop.hive.metastore.api.FieldSchema> hiveSchema)
hiveSchema - the hive schemapublic static java.util.List<FieldSchema> toProto(java.util.List<org.apache.hadoop.hive.metastore.api.FieldSchema> hiveSchema)
hiveSchema - the hive schemapublic static Storage toProto(org.apache.hadoop.hive.metastore.api.StorageDescriptor sd, PathTranslator translator) throws java.io.IOException
sd - storage descriptortranslator - path translatorjava.io.IOExceptionpublic static ColumnStatisticsInfo toProto(org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj colStats)
colStats - column statisticsCopyright © 2021. All Rights Reserved.