Class FnContainsToken


  • public final class FnContainsToken
    extends StandardFunc
    Function implementation.
    Author:
    BaseX Team 2005-23, BSD License, Christian Gruen
    • Constructor Detail

      • FnContainsToken

        public FnContainsToken()
    • Method Detail

      • indexAccessible

        public boolean indexAccessible​(IndexInfo ii)
                                throws QueryException
        Description copied from class: Expr
        Checks if an expression can be rewritten to an index access. If so, the index expression will be bound to IndexInfo.expr. This method will be called by the Path expression.
        Overrides:
        indexAccessible in class Expr
        Parameters:
        ii - index info
        Returns:
        true if an index can be used
        Throws:
        QueryException - query exception