Class CassandraRel.Implementor

  • Enclosing interface:

    public static class CassandraRel.Implementor
    extends java.lang.Object
    Callback for the implementation process that converts a tree of CassandraRel nodes into a CQL query.
    • Field Summary

      Modifier and Type Field Description
      (package private) CassandraTable cassandraTable  
      (package private) int fetch  
      (package private) int offset  
      (package private) java.util.List<java.lang.String> order  
      (package private) java.util.Map<java.lang.String,​java.lang.String> selectFields  
      (package private) RelOptTable table  
      (package private) java.util.List<java.lang.String> whereClause  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.util.Map<java.lang.String,​java.lang.String> fields, java.util.List<java.lang.String> predicates)
      Adds newly projected fields and restricted predicates.
      void addOrder​(java.util.List<java.lang.String> newOrder)  
      void visitChild​(int ordinal, RelNode input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • selectFields

        final java.util.Map<java.lang.String,​java.lang.String> selectFields
      • whereClause

        final java.util.List<java.lang.String> whereClause
      • offset

        int offset
      • fetch

        int fetch
      • order

        final java.util.List<java.lang.String> order
    • Constructor Detail

      • Implementor

        public Implementor()
    • Method Detail

      • add

        public void add​(java.util.Map<java.lang.String,​java.lang.String> fields,
                        java.util.List<java.lang.String> predicates)
        Adds newly projected fields and restricted predicates.
        fields - New fields to be projected from a query
        predicates - New predicates to be applied to the query
      • addOrder

        public void addOrder​(java.util.List<java.lang.String> newOrder)
      • visitChild

        public void visitChild​(int ordinal,
                               RelNode input)