Package org.projectnessie.model
Class HiveTable
- java.lang.Object
-
- org.projectnessie.model.Contents
-
- org.projectnessie.model.HiveTable
-
- Direct Known Subclasses:
ImmutableHiveTable
@Immutable(prehash=true) public abstract class HiveTable extends Contents
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.projectnessie.model.Contents
Contents.Type
-
-
Constructor Summary
Constructors Constructor Description HiveTable()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object another)Because of the List of byte arrays Immutables doesn't generate a correct equals.abstract List<byte[]>getPartitions()abstract byte[]getTableDefinition()inthashCode()Because of the List of byte arrays Immutables doesn't generate a correct hashcode.
-
-
-
Method Detail
-
getTableDefinition
public abstract byte[] getTableDefinition()
-
getPartitions
public abstract List<byte[]> getPartitions()
-
hashCode
public int hashCode()
Because of the List of byte arrays Immutables doesn't generate a correct hashcode.We hand compute the List elements to ensure the byte arrays hash codes are consistent.
-
-