Class Parameter (2.16.1)

public abstract class Parameter

Inheritance

java.lang.Object > Parameter

Static Methods

newBuilder()

public static Parameter.Builder newBuilder()

Returns a builder for a Parameter object.

Returns
TypeDescription
Parameter.Builder

Methods

getName()

public abstract String getName()

Returns the name of the query parameter. If unset, this is a positional parameter. Otherwise, should be unique within a query.

Returns
TypeDescription
String

value or null for none

getValue()

public abstract QueryParameterValue getValue()

Returns the value for a query parameter along with its type.

Returns
TypeDescription
QueryParameterValue

toBuilder()

public abstract Parameter.Builder toBuilder()

Returns a builder pre-populated using the current values of this field.

Returns
TypeDescription
Parameter.Builder