Record Class HiveInputInfo
java.lang.Object
java.lang.Record
io.trino.plugin.hive.HiveInputInfo
-
Constructor Summary
ConstructorsConstructorDescriptionHiveInputInfo(List<String> partitionIds, boolean partitioned, Optional<String> tableDefaultFileFormat) Creates an instance of aHiveInputInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thepartitionedrecord component.Returns the value of thepartitionIdsrecord component.Returns the value of thetableDefaultFileFormatrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HiveInputInfo
public HiveInputInfo(List<String> partitionIds, boolean partitioned, Optional<String> tableDefaultFileFormat) Creates an instance of aHiveInputInforecord class.- Parameters:
partitionIds- the value for thepartitionIdsrecord componentpartitioned- the value for thepartitionedrecord componenttableDefaultFileFormat- the value for thetableDefaultFileFormatrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
partitionIds
-
partitioned
public boolean partitioned()Returns the value of thepartitionedrecord component.- Returns:
- the value of the
partitionedrecord component
-
tableDefaultFileFormat
-