Class MaterializationActor.QueryKey

  • Enclosing class:
    MaterializationActor

    static class MaterializationActor.QueryKey
    extends java.lang.Object
    A materialization can be re-used if it is the same SQL, on the same schema, with the same path for resolving functions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.List<java.lang.String> path  
      (package private) CalciteSchema schema  
      (package private) java.lang.String sql  
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryKey​(java.lang.String sql, CalciteSchema schema, java.util.List<java.lang.String> path)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • sql

        final java.lang.String sql
      • path

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

      • QueryKey

        QueryKey​(java.lang.String sql,
                 CalciteSchema schema,
                 java.util.List<java.lang.String> path)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object