public final class StoredQueryProperty
extends java.lang.Object
implements java.io.Serializable
Stored query properties allow a user to add user-defined properties to a stored query.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
StoredQueryProperty(java.lang.String name,
java.lang.String value)
Constructor.
|
public static final java.lang.String COPYRIGHT
public StoredQueryProperty(java.lang.String name, java.lang.String value)
Takes a name and value pair and stores it for subsequent calls. The name must not be longer than 64 and value not be longer than 254 bytes in UTF-8 format.
name
- The name of the stored query property; not longer than 64 bytes.value
- The value of the stored query property; not longer than 254 bytes.public java.lang.String getName()
public java.lang.String getValue()
public void setValue(java.lang.String value) throws InvalidLengthException
value
- The value of the stored query property; not longer than 254 bytes.InvalidLengthException