|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazon.carbonado.qe.QueryHints
public class QueryHints
An immutable map of query hints.
QueryHint,
Serialized Form| Method Summary | |
|---|---|
boolean |
contains(QueryHint hint)
Returns false if hint is not provided. |
static QueryHints |
emptyHints()
|
boolean |
equals(Object obj)
|
Object |
get(QueryHint hint)
Returns null if hint is not provided. |
int |
hashCode()
|
boolean |
isEmpty()
|
String |
toString()
|
QueryHints |
with(QueryHint hint)
Returns a new QueryHints object with the given hint. |
QueryHints |
with(QueryHint hint,
Object value)
Returns a new QueryHints object with the given hint and value. |
QueryHints |
without(QueryHint hint)
Returns a new QueryHints object without the given hint. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static QueryHints emptyHints()
public QueryHints with(QueryHint hint)
IllegalArgumentException - if hint is null
public QueryHints with(QueryHint hint,
Object value)
IllegalArgumentException - if hint or value is nullpublic QueryHints without(QueryHint hint)
public boolean contains(QueryHint hint)
public Object get(QueryHint hint)
public boolean isEmpty()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||