Class GlueTable

  • All Implemented Interfaces:
    alluxio.table.common.udb.UdbTable

    public class GlueTable
    extends java.lang.Object
    implements alluxio.table.common.udb.UdbTable
    Glue table implementation.
    • Constructor Summary

      Constructors 
      Constructor Description
      GlueTable​(GlueDatabase glueDatabase, alluxio.table.common.udb.PathTranslator pathTranslator, java.lang.String name, alluxio.grpc.table.Schema schema, java.util.List<alluxio.grpc.table.ColumnStatisticsInfo> statistics, java.util.List<alluxio.grpc.table.FieldSchema> cols, java.util.List<alluxio.table.common.UdbPartition> udbPartitions, alluxio.grpc.table.Layout layout, com.amazonaws.services.glue.model.Table table)
      Create a new glue table instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      alluxio.grpc.table.Layout getLayout()  
      java.lang.String getName()  
      java.lang.String getOwner()  
      java.util.Map<java.lang.String,​java.lang.String> getParameters()  
      java.util.List<alluxio.grpc.table.FieldSchema> getPartitionCols()  
      java.util.List<alluxio.table.common.UdbPartition> getPartitions()  
      alluxio.grpc.table.Schema getSchema()  
      java.util.List<alluxio.grpc.table.ColumnStatisticsInfo> getStatistics()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GlueTable

        public GlueTable​(GlueDatabase glueDatabase,
                         alluxio.table.common.udb.PathTranslator pathTranslator,
                         java.lang.String name,
                         alluxio.grpc.table.Schema schema,
                         java.util.List<alluxio.grpc.table.ColumnStatisticsInfo> statistics,
                         java.util.List<alluxio.grpc.table.FieldSchema> cols,
                         java.util.List<alluxio.table.common.UdbPartition> udbPartitions,
                         alluxio.grpc.table.Layout layout,
                         com.amazonaws.services.glue.model.Table table)
        Create a new glue table instance.
        Parameters:
        glueDatabase - the glue udb
        pathTranslator - the glue to alluxio path translator
        name - the table name
        schema - the table schema
        cols - list of partition keys
        udbPartitions - list of partitions
        statistics - the table statistics
        layout - the table layout
        table - glue table object
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface alluxio.table.common.udb.UdbTable
      • getSchema

        public alluxio.grpc.table.Schema getSchema()
        Specified by:
        getSchema in interface alluxio.table.common.udb.UdbTable
      • getOwner

        public java.lang.String getOwner()
        Specified by:
        getOwner in interface alluxio.table.common.udb.UdbTable
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.String> getParameters()
        Specified by:
        getParameters in interface alluxio.table.common.udb.UdbTable
      • getPartitionCols

        public java.util.List<alluxio.grpc.table.FieldSchema> getPartitionCols()
        Specified by:
        getPartitionCols in interface alluxio.table.common.udb.UdbTable
      • getStatistics

        public java.util.List<alluxio.grpc.table.ColumnStatisticsInfo> getStatistics()
        Specified by:
        getStatistics in interface alluxio.table.common.udb.UdbTable
      • getLayout

        public alluxio.grpc.table.Layout getLayout()
        Specified by:
        getLayout in interface alluxio.table.common.udb.UdbTable
      • getPartitions

        public java.util.List<alluxio.table.common.UdbPartition> getPartitions()
        Specified by:
        getPartitions in interface alluxio.table.common.udb.UdbTable