com.thinkaurelius.titan.graphdb.query

## Interface Query

- All Known Subinterfaces:
    BackendQuery<Q>, ElementQuery<R,B>
  All Known Implementing Classes:
    BaseQuery, BaseVertexCentricQuery, GraphCentricQuery, IndexQuery, IndexQueryBuilder, JointIndexQuery, JointIndexQuery.Subquery, KeyRangeQuery, KeySliceQuery, KVQuery, RawQuery, SliceQuery, VertexCentricQuery

      public interface Query

  Standard Query interface specifying that a query may have a limit.
  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `NO_LIMIT`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getLimit()`
    `boolean` | `hasLimit()` Whether this query has a defined limit

- - ### Field Detail

    - #### NO_LIMIT

          static final int NO_LIMIT

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### hasLimit

          boolean hasLimit()

      Whether this query has a defined limit
      Returns:

    - #### getLimit

          int getLimit()

      Returns:
        The maximum number of results this query should return

Copyright © 2012–2014. All rights reserved.