Class HiveTable

    • Constructor Detail

      • HiveTable

        public HiveTable()
    • Method Detail

      • getTableDefinition

        @Size(min=1)
        public abstract @javax.validation.constraints.Size(min=1) byte[] getTableDefinition()
      • getPartitions

        @NotNull
        public abstract @NotNull 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