Class HiveTable

    • Constructor Detail

      • HiveTable

        public HiveTable()
    • 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.

        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object another)
        Because of the List of byte arrays Immutables doesn't generate a correct equals.

        ,We hand compare the List elements to ensure the byte arrays are equal.

        Overrides:
        equals in class Object