Class ConvertBinaryToIntegers


public final class ConvertBinaryToIntegers extends StandardFunc
Function implementation.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • ConvertBinaryToIntegers

      public ConvertBinaryToIntegers()
  • Method Details

    • iter

      public Iter iter(QueryContext qc) throws QueryException
      Description copied from class: Expr
      Evaluates the expression and returns an iterator on the resulting items. The implementation of this method is optional.
      Overrides:
      iter in class ParseExpr
      Parameters:
      qc - query context
      Returns:
      iterator
      Throws:
      QueryException - query exception
    • value

      public Value value(QueryContext qc) throws QueryException
      Description copied from class: Expr
      Evaluates the expression and returns the resulting value. If this method is not implemented, Expr.item(QueryContext, InputInfo) must be implemented instead.
      Overrides:
      value in class ParseExpr
      Parameters:
      qc - query context
      Returns:
      value
      Throws:
      QueryException - query exception
    • toValue

      public static Value toValue(byte[] bytes)
      Returns a value representation of the specified bytes.
      Parameters:
      bytes - bytes to be wrapped in a value
      Returns:
      value