Class CassandraFilter

    • Field Detail

      • partitionKeys

        private final java.util.List<java.lang.String> partitionKeys
      • singlePartition

        private java.lang.Boolean singlePartition
      • clusteringKeys

        private final java.util.List<java.lang.String> clusteringKeys
      • implicitFieldCollations

        private java.util.List<RelFieldCollation> implicitFieldCollations
      • match

        private java.lang.String match
    • Constructor Detail

      • CassandraFilter

        public CassandraFilter​(RelOptCluster cluster,
                               RelTraitSet traitSet,
                               RelNode child,
                               RexNode condition,
                               java.util.List<java.lang.String> partitionKeys,
                               java.util.List<java.lang.String> clusteringKeys,
                               java.util.List<RelFieldCollation> implicitFieldCollations)
    • Method Detail

      • isSinglePartition

        public boolean isSinglePartition()
        Check if the filter restricts to a single partition.
        Returns:
        True if the filter will restrict the underlying to a single partition
      • getImplicitCollation

        public RelCollation getImplicitCollation()
        Get the resulting collation by the clustering keys after filtering.
        Returns:
        The implicit collation based on the natural sorting by clustering keys