Class SearchInput.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<SearchInput>
net.sourceforge.jbizmo.commons.avro.search.SearchInput.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<SearchInput>
- Enclosing class:
- SearchInput
public static class SearchInput.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<SearchInput>
implements org.apache.avro.data.RecordBuilder<SearchInput>
RecordBuilder for SearchInput instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'caseSensitive' field.Clears the value of the 'dateFormat' field.Clears the value of the 'dateTimeFormat' field.Clears the value of the 'decimalSeparator' field.Clears the value of the 'exactFilterMatch' field.Clears the value of the 'groupingSeparator' field.Clears the value of the 'maxResult' field.Clears the value of the 'numberFormat' field.Clears the value of the 'searchFields' field.Clears the value of the 'startIndex' field.booleanGets the value of the 'caseSensitive' field.Gets the value of the 'dateFormat' field.Gets the value of the 'dateTimeFormat' field.Gets the value of the 'decimalSeparator' field.booleanGets the value of the 'exactFilterMatch' field.Gets the value of the 'groupingSeparator' field.intGets the value of the 'maxResult' field.Gets the value of the 'numberFormat' field.Gets the value of the 'searchFields' field.intGets the value of the 'startIndex' field.booleanChecks whether the 'caseSensitive' field has been set.booleanChecks whether the 'dateFormat' field has been set.booleanChecks whether the 'dateTimeFormat' field has been set.booleanChecks whether the 'decimalSeparator' field has been set.booleanChecks whether the 'exactFilterMatch' field has been set.booleanChecks whether the 'groupingSeparator' field has been set.booleanChecks whether the 'maxResult' field has been set.booleanChecks whether the 'numberFormat' field has been set.booleanChecks whether the 'searchFields' field has been set.booleanChecks whether the 'startIndex' field has been set.setCaseSensitive(boolean value) Sets the value of the 'caseSensitive' field.setDateFormat(String value) Sets the value of the 'dateFormat' field.setDateTimeFormat(String value) Sets the value of the 'dateTimeFormat' field.setDecimalSeparator(String value) Sets the value of the 'decimalSeparator' field.setExactFilterMatch(boolean value) Sets the value of the 'exactFilterMatch' field.setGroupingSeparator(String value) Sets the value of the 'groupingSeparator' field.setMaxResult(int value) Sets the value of the 'maxResult' field.setNumberFormat(String value) Sets the value of the 'numberFormat' field.setSearchFields(List<SearchInputField> value) Sets the value of the 'searchFields' field.setStartIndex(int value) Sets the value of the 'startIndex' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getMaxResult
public int getMaxResult()Gets the value of the 'maxResult' field.- Returns:
- The value.
-
setMaxResult
Sets the value of the 'maxResult' field.- Parameters:
value- The value of 'maxResult'.- Returns:
- This builder.
-
hasMaxResult
public boolean hasMaxResult()Checks whether the 'maxResult' field has been set.- Returns:
- True if the 'maxResult' field has been set, false otherwise.
-
clearMaxResult
Clears the value of the 'maxResult' field.- Returns:
- This builder.
-
getCaseSensitive
public boolean getCaseSensitive()Gets the value of the 'caseSensitive' field.- Returns:
- The value.
-
setCaseSensitive
Sets the value of the 'caseSensitive' field.- Parameters:
value- The value of 'caseSensitive'.- Returns:
- This builder.
-
hasCaseSensitive
public boolean hasCaseSensitive()Checks whether the 'caseSensitive' field has been set.- Returns:
- True if the 'caseSensitive' field has been set, false otherwise.
-
clearCaseSensitive
Clears the value of the 'caseSensitive' field.- Returns:
- This builder.
-
getNumberFormat
Gets the value of the 'numberFormat' field.- Returns:
- The value.
-
setNumberFormat
Sets the value of the 'numberFormat' field.- Parameters:
value- The value of 'numberFormat'.- Returns:
- This builder.
-
hasNumberFormat
public boolean hasNumberFormat()Checks whether the 'numberFormat' field has been set.- Returns:
- True if the 'numberFormat' field has been set, false otherwise.
-
clearNumberFormat
Clears the value of the 'numberFormat' field.- Returns:
- This builder.
-
getDateFormat
Gets the value of the 'dateFormat' field.- Returns:
- The value.
-
setDateFormat
Sets the value of the 'dateFormat' field.- Parameters:
value- The value of 'dateFormat'.- Returns:
- This builder.
-
hasDateFormat
public boolean hasDateFormat()Checks whether the 'dateFormat' field has been set.- Returns:
- True if the 'dateFormat' field has been set, false otherwise.
-
clearDateFormat
Clears the value of the 'dateFormat' field.- Returns:
- This builder.
-
getDateTimeFormat
Gets the value of the 'dateTimeFormat' field.- Returns:
- The value.
-
setDateTimeFormat
Sets the value of the 'dateTimeFormat' field.- Parameters:
value- The value of 'dateTimeFormat'.- Returns:
- This builder.
-
hasDateTimeFormat
public boolean hasDateTimeFormat()Checks whether the 'dateTimeFormat' field has been set.- Returns:
- True if the 'dateTimeFormat' field has been set, false otherwise.
-
clearDateTimeFormat
Clears the value of the 'dateTimeFormat' field.- Returns:
- This builder.
-
getStartIndex
public int getStartIndex()Gets the value of the 'startIndex' field.- Returns:
- The value.
-
setStartIndex
Sets the value of the 'startIndex' field.- Parameters:
value- The value of 'startIndex'.- Returns:
- This builder.
-
hasStartIndex
public boolean hasStartIndex()Checks whether the 'startIndex' field has been set.- Returns:
- True if the 'startIndex' field has been set, false otherwise.
-
clearStartIndex
Clears the value of the 'startIndex' field.- Returns:
- This builder.
-
getSearchFields
Gets the value of the 'searchFields' field.- Returns:
- The value.
-
setSearchFields
Sets the value of the 'searchFields' field.- Parameters:
value- The value of 'searchFields'.- Returns:
- This builder.
-
hasSearchFields
public boolean hasSearchFields()Checks whether the 'searchFields' field has been set.- Returns:
- True if the 'searchFields' field has been set, false otherwise.
-
clearSearchFields
Clears the value of the 'searchFields' field.- Returns:
- This builder.
-
getExactFilterMatch
public boolean getExactFilterMatch()Gets the value of the 'exactFilterMatch' field.- Returns:
- The value.
-
setExactFilterMatch
Sets the value of the 'exactFilterMatch' field.- Parameters:
value- The value of 'exactFilterMatch'.- Returns:
- This builder.
-
hasExactFilterMatch
public boolean hasExactFilterMatch()Checks whether the 'exactFilterMatch' field has been set.- Returns:
- True if the 'exactFilterMatch' field has been set, false otherwise.
-
clearExactFilterMatch
Clears the value of the 'exactFilterMatch' field.- Returns:
- This builder.
-
getDecimalSeparator
Gets the value of the 'decimalSeparator' field.- Returns:
- The value.
-
setDecimalSeparator
Sets the value of the 'decimalSeparator' field.- Parameters:
value- The value of 'decimalSeparator'.- Returns:
- This builder.
-
hasDecimalSeparator
public boolean hasDecimalSeparator()Checks whether the 'decimalSeparator' field has been set.- Returns:
- True if the 'decimalSeparator' field has been set, false otherwise.
-
clearDecimalSeparator
Clears the value of the 'decimalSeparator' field.- Returns:
- This builder.
-
getGroupingSeparator
Gets the value of the 'groupingSeparator' field.- Returns:
- The value.
-
setGroupingSeparator
Sets the value of the 'groupingSeparator' field.- Parameters:
value- The value of 'groupingSeparator'.- Returns:
- This builder.
-
hasGroupingSeparator
public boolean hasGroupingSeparator()Checks whether the 'groupingSeparator' field has been set.- Returns:
- True if the 'groupingSeparator' field has been set, false otherwise.
-
clearGroupingSeparator
Clears the value of the 'groupingSeparator' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<SearchInput>
-