Interface BytesTerm

All Superinterfaces:
QueryTerm

public interface BytesTerm extends QueryTerm

A term for a byte query.

  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Gets the bytes in the term.
    boolean
    Tests if this is a partial or complete match.

    Methods inherited from interface QueryTerm

    isPositive, isWildcard
    Modifier and Type
    Method
    Description
    boolean
    Tests if this is a positive or negative term.
    boolean
    Tests if this term is a wildcard.
  • Method Details

    • getBytes

      byte[] getBytes()
      Gets the bytes in the term.
      Returns:
      the bytes
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.
    • isPartial

      boolean isPartial()
      Tests if this is a partial or complete match.
      Returns:
      true if a partial match, false for a complete match
      Compliance:
      mandatory - This method must be implemented.