Class HiveCacheContext


  • public class HiveCacheContext
    extends java.lang.Object
    Data structure that stores and returns Hive related Cache Scope.
    • Constructor Summary

      Constructors 
      Constructor Description
      HiveCacheContext​(java.lang.String database, java.lang.String table, java.lang.String partition)
      Constructor.
    • Constructor Detail

      • HiveCacheContext

        public HiveCacheContext​(java.lang.String database,
                                java.lang.String table,
                                java.lang.String partition)
        Constructor.
        Parameters:
        database - the database name
        table - the table name
        partition - the partition name
    • Method Detail

      • getDatabase

        public java.lang.String getDatabase()
        Returns:
        the database in the hive cache context
      • getTable

        public java.lang.String getTable()
        Returns:
        the table in the hive cache context
      • getPartition

        @Nullable
        public java.lang.String getPartition()
        Returns:
        the partition in the hive cache context
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object