public class QueryHints
extends java.lang.Object
implements java.io.Serializable
QueryHint
,
Serialized FormModifier and Type | Method and Description |
---|---|
boolean |
contains(QueryHint hint)
Returns false if hint is not provided.
|
static QueryHints |
emptyHints() |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
get(QueryHint hint)
Returns null if hint is not provided.
|
int |
hashCode() |
boolean |
isEmpty() |
java.lang.String |
toString() |
QueryHints |
with(QueryHint hint)
Returns a new QueryHints object with the given hint.
|
QueryHints |
with(QueryHint hint,
java.lang.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.
|
public static QueryHints emptyHints()
public QueryHints with(QueryHint hint)
java.lang.IllegalArgumentException
- if hint is nullpublic QueryHints with(QueryHint hint, java.lang.Object value)
java.lang.IllegalArgumentException
- if hint or value is nullpublic QueryHints without(QueryHint hint)
public boolean contains(QueryHint hint)
public java.lang.Object get(QueryHint hint)
public boolean isEmpty()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.