Class ProtoUtils
- java.lang.Object
-
- io.trino.plugin.hive.metastore.alluxio.ProtoUtils
-
public final class ProtoUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HiveColumnStatisticsfromProto(alluxio.grpc.table.ColumnStatisticsData columnStatistics, OptionalLong rowCount)static DatabasefromProto(alluxio.grpc.table.Database db)static PartitionfromProto(alluxio.grpc.table.layout.hive.PartitionInfo info)static TablefromProto(alluxio.grpc.table.TableInfo table)static alluxio.grpc.table.layout.hive.PartitionInfotoPartitionInfo(alluxio.grpc.table.Partition part)static List<alluxio.grpc.table.layout.hive.PartitionInfo>toPartitionInfoList(List<alluxio.grpc.table.Partition> parts)
-
-
-
Method Detail
-
fromProto
public static Database fromProto(alluxio.grpc.table.Database db)
-
fromProto
public static Table fromProto(alluxio.grpc.table.TableInfo table)
-
fromProto
public static HiveColumnStatistics fromProto(alluxio.grpc.table.ColumnStatisticsData columnStatistics, OptionalLong rowCount)
-
fromProto
public static Partition fromProto(alluxio.grpc.table.layout.hive.PartitionInfo info)
-
toPartitionInfo
public static alluxio.grpc.table.layout.hive.PartitionInfo toPartitionInfo(alluxio.grpc.table.Partition part)
-
-