Interface Restriction

    • Method Detail

      • isOnToken

        default boolean isOnToken()
      • getFirstColumn

        ColumnMetadata getFirstColumn()
        Returns the definition of the first column.
        Returns:
        the definition of the first column.
      • getLastColumn

        ColumnMetadata getLastColumn()
        Returns the definition of the last column.
        Returns:
        the definition of the last column.
      • getColumnDefs

        java.util.List<ColumnMetadata> getColumnDefs()
        Returns the column definitions in position order.
        Returns:
        the column definitions in position order.
      • addFunctionsTo

        void addFunctionsTo​(java.util.List<Function> functions)
        Adds all functions (native and user-defined) used by any component of the restriction to the specified list.
        Parameters:
        functions - the list to add to
      • hasSupportingIndex

        boolean hasSupportingIndex​(IndexRegistry indexRegistry)
        Check if the restriction is on indexed columns.
        Parameters:
        indexRegistry - the index registry
        Returns:
        true if the restriction is on indexed columns, false
      • addRowFilterTo

        void addRowFilterTo​(RowFilter filter,
                            IndexRegistry indexRegistry,
                            QueryOptions options)
        Adds to the specified row filter the expressions corresponding to this Restriction.
        Parameters:
        filter - the row filter to add expressions to
        indexRegistry - the index registry
        options - the query options