Package alluxio.table.common.layout
Class HiveLayout
- java.lang.Object
-
- alluxio.table.common.layout.HiveLayout
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHiveLayout.HiveLayoutFactoryFactory to create layout implementation.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE
-
Constructor Summary
Constructors Constructor Description HiveLayout(alluxio.grpc.table.layout.hive.PartitionInfo partitionInfo, java.util.List<alluxio.grpc.table.ColumnStatisticsInfo> stats)Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.Map<java.lang.String,alluxio.grpc.table.ColumnStatisticsInfo>getColumnStatsData()alluxio.grpc.table.layout.hive.PartitionInfogetData()alluxio.AlluxioURIgetLocation()java.lang.StringgetSpec()TransformPlangetTransformPlan(TransformContext transformContext, TransformDefinition definition)java.lang.StringgetType()inthashCode()
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getSpec
public java.lang.String getSpec()
-
getData
public alluxio.grpc.table.layout.hive.PartitionInfo getData()
-
getLocation
public alluxio.AlluxioURI getLocation()
- Specified by:
getLocationin interfaceLayout- Returns:
- the location of the layout
-
getColumnStatsData
public java.util.Map<java.lang.String,alluxio.grpc.table.ColumnStatisticsInfo> getColumnStatsData()
- Specified by:
getColumnStatsDatain interfaceLayout- Returns:
- a map of proto representing the statistics data for this partition
-
getTransformPlan
public TransformPlan getTransformPlan(TransformContext transformContext, TransformDefinition definition) throws java.io.IOException
- Specified by:
getTransformPlanin interfaceLayout- Parameters:
transformContext- theTransformContextdefinition- the transform definition- Returns:
- a new
TransformPlanrepresenting the layout transformation - Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-