Class FindWithNamedQuery.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class FindWithNamedQuery.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for FindWithNamedQuery instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
queryName
public Map<String, ByteBuffer>
parameters
public int
offset
public int
limit
public ByteBuffer
resumePoint
-
Method Summary
Modifier and Type Method Description String
getQueryName()
Gets the value of the 'queryName' field. FindWithNamedQuery.Builder
setQueryName(String value)
Sets the value of the 'queryName' field. Map<String, ByteBuffer>
getParameters()
Gets the value of the 'parameters' field. FindWithNamedQuery.Builder
setParameters(Map<String, ByteBuffer> value)
Sets the value of the 'parameters' field. int
getOffset()
Gets the value of the 'offset' field. FindWithNamedQuery.Builder
setOffset(int value)
Sets the value of the 'offset' field. int
getLimit()
Gets the value of the 'limit' field. FindWithNamedQuery.Builder
setLimit(int value)
Sets the value of the 'limit' field. ByteBuffer
getResumePoint()
Gets the value of the 'resumePoint' field. FindWithNamedQuery.Builder
setResumePoint(ByteBuffer value)
Sets the value of the 'resumePoint' field. boolean
hasQueryName()
Checks whether the 'queryName' field has been set. FindWithNamedQuery.Builder
clearQueryName()
Clears the value of the 'queryName' field. boolean
hasParameters()
Checks whether the 'parameters' field has been set. FindWithNamedQuery.Builder
clearParameters()
Clears the value of the 'parameters' field. boolean
hasOffset()
Checks whether the 'offset' field has been set. FindWithNamedQuery.Builder
clearOffset()
Clears the value of the 'offset' field. boolean
hasLimit()
Checks whether the 'limit' field has been set. FindWithNamedQuery.Builder
clearLimit()
Clears the value of the 'limit' field. boolean
hasResumePoint()
Checks whether the 'resumePoint' field has been set. FindWithNamedQuery.Builder
clearResumePoint()
Clears the value of the 'resumePoint' field. FindWithNamedQuery
build()
-
-
Method Detail
-
getQueryName
String getQueryName()
Gets the value of the 'queryName' field. The name of a named query defined somewhere in the CPK.
-
setQueryName
FindWithNamedQuery.Builder setQueryName(String value)
Sets the value of the 'queryName' field. The name of a named query defined somewhere in the CPK.
- Parameters:
value
- The value of 'queryName'.
-
getParameters
Map<String, ByteBuffer> getParameters()
Gets the value of the 'parameters' field. Parameters for the query, with each value represented as a bytes array payload serialized in AMQP format. Null values must be tested using IS NULL in the query; it is not possible to pass in a null as a parameter value.
-
setParameters
FindWithNamedQuery.Builder setParameters(Map<String, ByteBuffer> value)
Sets the value of the 'parameters' field. Parameters for the query, with each value represented as a bytes array payload serialized in AMQP format. Null values must be tested using IS NULL in the query; it is not possible to pass in a null as a parameter value.
- Parameters:
value
- The value of 'parameters'.
-
getOffset
int getOffset()
Gets the value of the 'offset' field. The index of the first result in the query output that should be returned.
-
setOffset
FindWithNamedQuery.Builder setOffset(int value)
Sets the value of the 'offset' field. The index of the first result in the query output that should be returned.
- Parameters:
value
- The value of 'offset'.
-
getLimit
int getLimit()
Gets the value of the 'limit' field. Limit number of rows in the output query results, after applying the offset. Use the maximum int value if you do not want a lower limit.
-
setLimit
FindWithNamedQuery.Builder setLimit(int value)
Sets the value of the 'limit' field. Limit number of rows in the output query results, after applying the offset. Use the maximum int value if you do not want a lower limit.
- Parameters:
value
- The value of 'limit'.
-
getResumePoint
ByteBuffer getResumePoint()
Gets the value of the 'resumePoint' field. When a query supports stable paging, contains opaque data telling the query where to resume from when making queries for subsequent pages.
-
setResumePoint
FindWithNamedQuery.Builder setResumePoint(ByteBuffer value)
Sets the value of the 'resumePoint' field. When a query supports stable paging, contains opaque data telling the query where to resume from when making queries for subsequent pages.
- Parameters:
value
- The value of 'resumePoint'.
-
hasQueryName
boolean hasQueryName()
Checks whether the 'queryName' field has been set. The name of a named query defined somewhere in the CPK.
-
clearQueryName
FindWithNamedQuery.Builder clearQueryName()
Clears the value of the 'queryName' field. The name of a named query defined somewhere in the CPK.
-
hasParameters
boolean hasParameters()
Checks whether the 'parameters' field has been set. Parameters for the query, with each value represented as a bytes array payload serialized in AMQP format. Null values must be tested using IS NULL in the query; it is not possible to pass in a null as a parameter value.
-
clearParameters
FindWithNamedQuery.Builder clearParameters()
Clears the value of the 'parameters' field. Parameters for the query, with each value represented as a bytes array payload serialized in AMQP format. Null values must be tested using IS NULL in the query; it is not possible to pass in a null as a parameter value.
-
hasOffset
boolean hasOffset()
Checks whether the 'offset' field has been set. The index of the first result in the query output that should be returned.
-
clearOffset
FindWithNamedQuery.Builder clearOffset()
Clears the value of the 'offset' field. The index of the first result in the query output that should be returned.
-
hasLimit
boolean hasLimit()
Checks whether the 'limit' field has been set. Limit number of rows in the output query results, after applying the offset. Use the maximum int value if you do not want a lower limit.
-
clearLimit
FindWithNamedQuery.Builder clearLimit()
Clears the value of the 'limit' field. Limit number of rows in the output query results, after applying the offset. Use the maximum int value if you do not want a lower limit.
-
hasResumePoint
boolean hasResumePoint()
Checks whether the 'resumePoint' field has been set. When a query supports stable paging, contains opaque data telling the query where to resume from when making queries for subsequent pages.
-
clearResumePoint
FindWithNamedQuery.Builder clearResumePoint()
Clears the value of the 'resumePoint' field. When a query supports stable paging, contains opaque data telling the query where to resume from when making queries for subsequent pages.
-
build
FindWithNamedQuery build()
-
-
-
-