Package org.apache.parquet.avro
Class StringBehaviorTest.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<StringBehaviorTest>
-
- org.apache.parquet.avro.StringBehaviorTest.Builder
-
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<StringBehaviorTest>
- Enclosing class:
- StringBehaviorTest
public static class StringBehaviorTest.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<StringBehaviorTest> implements org.apache.avro.data.RecordBuilder<StringBehaviorTest>
RecordBuilder for StringBehaviorTest instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBehaviorTestbuild()StringBehaviorTest.BuilderclearDefaultClass()Clears the value of the 'default_class' field.StringBehaviorTest.BuilderclearDefaultMap()Clears the value of the 'default_map' field.StringBehaviorTest.BuilderclearStringableClass()Clears the value of the 'stringable_class' field.StringBehaviorTest.BuilderclearStringableMap()Clears the value of the 'stringable_map' field.StringBehaviorTest.BuilderclearStringClass()Clears the value of the 'string_class' field.StringBehaviorTest.BuilderclearStringMap()Clears the value of the 'string_map' field.CharSequencegetDefaultClass()Gets the value of the 'default_class' field.Map<CharSequence,Integer>getDefaultMap()Gets the value of the 'default_map' field.BigDecimalgetStringableClass()Gets the value of the 'stringable_class' field.Map<BigDecimal,Integer>getStringableMap()Gets the value of the 'stringable_map' field.CharSequencegetStringClass()Gets the value of the 'string_class' field.Map<CharSequence,Integer>getStringMap()Gets the value of the 'string_map' field.booleanhasDefaultClass()Checks whether the 'default_class' field has been set.booleanhasDefaultMap()Checks whether the 'default_map' field has been set.booleanhasStringableClass()Checks whether the 'stringable_class' field has been set.booleanhasStringableMap()Checks whether the 'stringable_map' field has been set.booleanhasStringClass()Checks whether the 'string_class' field has been set.booleanhasStringMap()Checks whether the 'string_map' field has been set.StringBehaviorTest.BuildersetDefaultClass(CharSequence value)Sets the value of the 'default_class' field.StringBehaviorTest.BuildersetDefaultMap(Map<CharSequence,Integer> value)Sets the value of the 'default_map' field.StringBehaviorTest.BuildersetStringableClass(BigDecimal value)Sets the value of the 'stringable_class' field.StringBehaviorTest.BuildersetStringableMap(Map<BigDecimal,Integer> value)Sets the value of the 'stringable_map' field.StringBehaviorTest.BuildersetStringClass(CharSequence value)Sets the value of the 'string_class' field.StringBehaviorTest.BuildersetStringMap(Map<CharSequence,Integer> value)Sets the value of the 'string_map' field.
-
-
-
Method Detail
-
getDefaultClass
public CharSequence getDefaultClass()
Gets the value of the 'default_class' field.- Returns:
- The value.
-
setDefaultClass
public StringBehaviorTest.Builder setDefaultClass(CharSequence value)
Sets the value of the 'default_class' field.- Parameters:
value- The value of 'default_class'.- Returns:
- This builder.
-
hasDefaultClass
public boolean hasDefaultClass()
Checks whether the 'default_class' field has been set.- Returns:
- True if the 'default_class' field has been set, false otherwise.
-
clearDefaultClass
public StringBehaviorTest.Builder clearDefaultClass()
Clears the value of the 'default_class' field.- Returns:
- This builder.
-
getStringClass
public CharSequence getStringClass()
Gets the value of the 'string_class' field.- Returns:
- The value.
-
setStringClass
public StringBehaviorTest.Builder setStringClass(CharSequence value)
Sets the value of the 'string_class' field.- Parameters:
value- The value of 'string_class'.- Returns:
- This builder.
-
hasStringClass
public boolean hasStringClass()
Checks whether the 'string_class' field has been set.- Returns:
- True if the 'string_class' field has been set, false otherwise.
-
clearStringClass
public StringBehaviorTest.Builder clearStringClass()
Clears the value of the 'string_class' field.- Returns:
- This builder.
-
getStringableClass
public BigDecimal getStringableClass()
Gets the value of the 'stringable_class' field.- Returns:
- The value.
-
setStringableClass
public StringBehaviorTest.Builder setStringableClass(BigDecimal value)
Sets the value of the 'stringable_class' field.- Parameters:
value- The value of 'stringable_class'.- Returns:
- This builder.
-
hasStringableClass
public boolean hasStringableClass()
Checks whether the 'stringable_class' field has been set.- Returns:
- True if the 'stringable_class' field has been set, false otherwise.
-
clearStringableClass
public StringBehaviorTest.Builder clearStringableClass()
Clears the value of the 'stringable_class' field.- Returns:
- This builder.
-
getDefaultMap
public Map<CharSequence,Integer> getDefaultMap()
Gets the value of the 'default_map' field.- Returns:
- The value.
-
setDefaultMap
public StringBehaviorTest.Builder setDefaultMap(Map<CharSequence,Integer> value)
Sets the value of the 'default_map' field.- Parameters:
value- The value of 'default_map'.- Returns:
- This builder.
-
hasDefaultMap
public boolean hasDefaultMap()
Checks whether the 'default_map' field has been set.- Returns:
- True if the 'default_map' field has been set, false otherwise.
-
clearDefaultMap
public StringBehaviorTest.Builder clearDefaultMap()
Clears the value of the 'default_map' field.- Returns:
- This builder.
-
getStringMap
public Map<CharSequence,Integer> getStringMap()
Gets the value of the 'string_map' field.- Returns:
- The value.
-
setStringMap
public StringBehaviorTest.Builder setStringMap(Map<CharSequence,Integer> value)
Sets the value of the 'string_map' field.- Parameters:
value- The value of 'string_map'.- Returns:
- This builder.
-
hasStringMap
public boolean hasStringMap()
Checks whether the 'string_map' field has been set.- Returns:
- True if the 'string_map' field has been set, false otherwise.
-
clearStringMap
public StringBehaviorTest.Builder clearStringMap()
Clears the value of the 'string_map' field.- Returns:
- This builder.
-
getStringableMap
public Map<BigDecimal,Integer> getStringableMap()
Gets the value of the 'stringable_map' field.- Returns:
- The value.
-
setStringableMap
public StringBehaviorTest.Builder setStringableMap(Map<BigDecimal,Integer> value)
Sets the value of the 'stringable_map' field.- Parameters:
value- The value of 'stringable_map'.- Returns:
- This builder.
-
hasStringableMap
public boolean hasStringableMap()
Checks whether the 'stringable_map' field has been set.- Returns:
- True if the 'stringable_map' field has been set, false otherwise.
-
clearStringableMap
public StringBehaviorTest.Builder clearStringableMap()
Clears the value of the 'stringable_map' field.- Returns:
- This builder.
-
build
public StringBehaviorTest build()
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<StringBehaviorTest>
-
-