Class Parameter (2.42.3)

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
Type Description
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
Type Description
String

value or null for none

getValue()

public abstract QueryParameterValue getValue()

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

Returns
Type Description
QueryParameterValue

toBuilder()

public abstract Parameter.Builder toBuilder()

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

Returns
Type Description
Parameter.Builder