public final class ProtoUtils extends Object
Constructor and Description |
---|
ProtoUtils() |
Modifier and Type | Method and Description |
---|---|
static PartitionInfo |
extractHiveLayout(Partition partition) |
static boolean |
hasHiveLayout(Partition partition) |
static boolean |
isHiveLayout(Layout layout) |
static PartitionInfo |
toHiveLayout(Layout layout) |
public static boolean hasHiveLayout(Partition partition)
partition
- the partition protopublic static boolean isHiveLayout(Layout layout)
layout
- the layout protopublic static PartitionInfo extractHiveLayout(Partition partition) throws com.google.protobuf.InvalidProtocolBufferException
partition
- the partition protocom.google.protobuf.InvalidProtocolBufferException
public static PartitionInfo toHiveLayout(Layout layout) throws com.google.protobuf.InvalidProtocolBufferException
layout
- the layout protocom.google.protobuf.InvalidProtocolBufferException
Copyright © 2023. All Rights Reserved.