Class StringToken

java.lang.Object
org.basex.index.query.StringToken
All Implemented Interfaces:
IndexSearch

public final class StringToken extends Object implements IndexSearch
This class defines access to index text tokens.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • StringToken

      public StringToken(IndexType type, byte[] value)
      Constructor.
      Parameters:
      type - index type
      value - value to be found
  • Method Details

    • type

      public IndexType type()
      Description copied from interface: IndexSearch
      Returns the index type.
      Specified by:
      type in interface IndexSearch
      Returns:
      type
    • token

      public byte[] token()
      Description copied from interface: IndexSearch
      Returns the current token.
      Specified by:
      token in interface IndexSearch
      Returns:
      token