Package alluxio.table.common
Interface Layout
-
- All Known Implementing Classes:
HiveLayout
public interface LayoutAn interface for a table/partition layout.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.Map<java.lang.String,alluxio.grpc.table.ColumnStatisticsInfo>getColumnStatsData()com.google.protobuf.MessagegetData()alluxio.AlluxioURIgetLocation()java.lang.StringgetSpec()TransformPlangetTransformPlan(TransformContext transformContext, TransformDefinition definition)java.lang.StringgetType()default alluxio.grpc.table.LayouttoProto()
-
-
-
Method Detail
-
getType
java.lang.String getType()
- Returns:
- the type of table/partition layout
-
getSpec
java.lang.String getSpec()
- Returns:
- the layout specification
-
getData
com.google.protobuf.Message getData()
- Returns:
- a proto representing the data for this table/partition layout
-
getColumnStatsData
java.util.Map<java.lang.String,alluxio.grpc.table.ColumnStatisticsInfo> getColumnStatsData()
- Returns:
- a map of proto representing the statistics data for this partition
-
getLocation
alluxio.AlluxioURI getLocation()
- Returns:
- the location of the layout
-
getTransformPlan
TransformPlan getTransformPlan(TransformContext transformContext, TransformDefinition definition) throws java.io.IOException
- Parameters:
transformContext- theTransformContextdefinition- the transform definition- Returns:
- a new
TransformPlanrepresenting the layout transformation - Throws:
java.io.IOException
-
toProto
default alluxio.grpc.table.Layout toProto()
- Returns:
- the proto representation
-
-