Class InListPredicate

    • Field Detail

      • columnIdx

        public final int columnIdx
    • Constructor Detail

      • InListPredicate

        public InListPredicate​(int columnIdx,
                               List<Object> values)
    • Method Detail

      • explainPredicate

        public String explainPredicate​(org.apache.kudu.ColumnSchema schema)
        Description copied from class: CalciteKuduPredicate
        Constructs a string used when generating the explain plan
        Specified by:
        explainPredicate in class CalciteKuduPredicate
        Parameters:
        schema - Schema of the column from Kudu
        Returns:
        Formatted string from RelWriter to use
      • toPredicate

        public org.apache.kudu.client.KuduPredicate toPredicate​(org.apache.kudu.ColumnSchema columnSchema,
                                                                boolean invertValue)
        Description copied from class: CalciteKuduPredicate
        Transforms this POJO into a proper KuduPredicate
        Specified by:
        toPredicate in class CalciteKuduPredicate
        Parameters:
        columnSchema - column schema to use for the predicate
        invertValue - true if the column is stored in descending order
        Returns:
        KuduPredicate that represents this POJO
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object