Package alluxio.client.hive
Class HiveCacheContext
- java.lang.Object
-
- alluxio.client.hive.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDatabase()
java.lang.String
getPartition()
java.lang.String
getTable()
int
hashCode()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-