Class AbstractCondition

    • Constructor Detail

      • AbstractCondition

        public AbstractCondition​(MultiColumnQueryHits inner)
        Creates a new join condition with the given inner query hits.
        inner - the inner query hits.
    • Method Detail

      • getInnerSelectorNames

        public Name[] getInnerSelectorNames()
        Specified by:
        getInnerSelectorNames in interface Condition
        selector names of the inner query hits.
      • close

        public void close()
                   throws IOException
        Closes this join condition and frees resources. Namely closes the inner query hits.
        Specified by:
        close in interface Condition
        IOException - if an error occurs while closing the inner query hits.
      • getIndex

        protected static int getIndex​(MultiColumnQueryHits source,
                                      Name selectorName)
        Returns the index of the selector with the given selectorName within the given source.
        source - a source.
        selectorName - a selector name.
        the index within the source or -1 if the name does not exist in source.