Interface HintPath

All Superinterfaces:
GroupByPath, KeysPath, LetPath, LimitPath, OffsetPath, OrderByPath, Path, SelectResultPath, Statement, WherePath
All Known Subinterfaces:
AsPath
All Known Implementing Classes:
DefaultAsPath, DefaultHintPath

@Experimental
@Public
public interface HintPath
extends KeysPath
Hint clause (especially for specifying indexes to use) after a from clause.
Since:
2.2
Author:
Simon Baslé
  • Method Details

    • useIndex

      KeysPath useIndex​(IndexReference... indexes)
      Hint at what index(es) to use for this query. Use IndexReference's factory methods.
    • useIndex

      KeysPath useIndex​(String... indexes)
      Hint at what index(es) to use for this query by giving names (will look for default index type). The index names will be escaped.