Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.data
Interface Result

All Known Implementing Classes:
  Nodes, SeqIter

    public interface Result

This is an interface for query results.

Author:
  Workgroup DBIS, University of Konstanz 2005-09, ISC License, Christian Gruen

Method Summary
`boolean` | `same(Result v)` Compares values for equality.
`void` | `serialize(Serializer ser)` Serializes the complete result.
`void` | `serialize(Serializer ser, int n)` Serializes the specified result.
`int` | `size()` Number of values, stored in the result instance.

Method Detail

### size

    int size()

  Number of values, stored in the result instance.

  Returns:
    number of values

### same

    boolean same(Result v)

  Compares values for equality.

  Parameters:
    `v` - value to be compared
  Returns:
    true if values are equal

### serialize

    void serialize(Serializer ser)
                   throws java.io.IOException

  Serializes the complete result.

  Parameters:
    `ser` - serializer
  Throws:
    `java.io.IOException` - I/O exception

### serialize

    void serialize(Serializer ser,
                   int n)
                   throws java.io.IOException

  Serializes the specified result.

  Parameters:
    `ser` - serializer
    `n` - results offset to serialize
  Throws:
    `java.io.IOException` - I/O exception

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD