Interface Layout

  • All Known Implementing Classes:
    HiveLayout

    public interface Layout
    An interface for a table/partition layout.
    • 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 - the TransformContext
        definition - the transform definition
        Returns:
        a new TransformPlan representing the layout transformation
        Throws:
        java.io.IOException
      • toProto

        default alluxio.grpc.table.Layout toProto()
        Returns:
        the proto representation