Package io.trino.hive.formats.avro.model
Record Class SkipFieldRecordFieldReadAction
java.lang.Object
java.lang.Record
io.trino.hive.formats.avro.model.SkipFieldRecordFieldReadAction
- All Implemented Interfaces:
RecordFieldReadAction
public record SkipFieldRecordFieldReadAction(SkipFieldRecordFieldReadAction.SkipAction skipAction)
extends Record
implements RecordFieldReadAction
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aSkipFieldRecordFieldReadActionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncreateSkipActionForSchema(org.apache.avro.Schema schema) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theskipActionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SkipFieldRecordFieldReadAction
Creates an instance of aSkipFieldRecordFieldReadActionrecord class.- Parameters:
skipAction- the value for theskipActionrecord component
-
-
Method Details
-
createSkipActionForSchema
public static SkipFieldRecordFieldReadAction.SkipAction createSkipActionForSchema(org.apache.avro.Schema schema) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
skipAction
Returns the value of theskipActionrecord component.- Returns:
- the value of the
skipActionrecord component
-