com.thinkaurelius.titan.graphdb.query.graph

## Class JointIndexQuery.Subquery

- java.lang.Object
- - com.thinkaurelius.titan.graphdb.query.graph.JointIndexQuery.Subquery

- All Implemented Interfaces:
    BackendQuery<JointIndexQuery.Subquery>, Query
  Enclosing class:
    JointIndexQuery

      public static class JointIndexQuery.Subquery
      extends Object
      implements BackendQuery<JointIndexQuery.Subquery>

- - ### Field Summary

    - ### Fields inherited from interface com.thinkaurelius.titan.graphdb.query.Query

      `NO_LIMIT`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object other)`
    `KeySliceQuery` | `getCompositeQuery()`
    `IndexType` | `getIndex()`
    `int` | `getLimit()`
    `IndexQuery` | `getMixedQuery()`
    `int` | `hashCode()`
    `boolean` | `hasLimit()` Whether this query has a defined limit
    `String` | `toString()`
    `JointIndexQuery.Subquery` | `updateLimit(int newLimit)` Creates a new query identical to the current one but with the specified limit.

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getIndex

          public IndexType getIndex()

    - #### getMixedQuery

          public IndexQuery getMixedQuery()

    - #### getCompositeQuery

          public KeySliceQuery getCompositeQuery()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object other)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### updateLimit

          public JointIndexQuery.Subquery updateLimit(int newLimit)

      Description copied from interface: `BackendQuery`
      Creates a new query identical to the current one but with the specified limit.
      Specified by:
        `updateLimit` in interface `BackendQuery<JointIndexQuery.Subquery>`
      Returns:

    - #### hasLimit

          public boolean hasLimit()

      Description copied from interface: `Query`
      Whether this query has a defined limit
      Specified by:
        `hasLimit` in interface `Query`
      Returns:

    - #### getLimit

          public int getLimit()

      Specified by:
        `getLimit` in interface `Query`
      Returns:
        The maximum number of results this query should return

Copyright © 2012–2014. All rights reserved.