Class LatticeSpace

  • class LatticeSpace
    extends java.lang.Object
    Space within which lattices exist.
    • Field Detail

      • tableMap

        private final java.util.Map<java.util.List<java.lang.String>,​LatticeTable> tableMap
      • simpleTableNames

        private final java.util.Map<java.util.List<java.lang.String>,​java.lang.String> simpleTableNames
      • simpleNames

        private final java.util.Set<java.lang.String> simpleNames
      • nodeMap

        final java.util.Map<java.lang.String,​LatticeRootNode> nodeMap
        Root nodes, indexed by digest.
      • pathMap

        final java.util.Map<<Step>,​Path> pathMap
    • Method Detail

      • simpleName

        java.lang.String simpleName​(LatticeTable table)
        Derives a unique name for a table, qualifying with schema name only if necessary.
      • simpleName

        java.lang.String simpleName​(RelOptTable table)
      • simpleName

        java.lang.String simpleName​(java.util.List<java.lang.String> table)
      • sortUnique

        static java.util.List<IntPair> sortUnique​(java.util.List<IntPair> keys)
        Returns a list of IntPair that is sorted and unique.
      • swap

        static java.util.List<IntPair> swap​(java.util.List<IntPair> keys)
        Returns a list of IntPair, transposing source and target fields, and ensuring the result is sorted and unique.
      • addPath

        Path addPath​(java.util.List<Step> steps)