Package org.apache.polaris.spark.rest
Record Class GenericTable
java.lang.Object
java.lang.Record
org.apache.polaris.spark.rest.GenericTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thebaseLocationrecord component.static org.apache.polaris.spark.rest.GenericTableBuilderbuilder()@Nullable Stringdoc()Returns the value of thedocrecord component.final booleanIndicates whether some other object is "equal to" this one.@NotNull Stringformat()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.@NotNull Stringname()Returns the value of thenamerecord component.Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GenericTable
public GenericTable(@NotNull @NotNull String name, @NotNull @NotNull String format, @Nullable String baseLocation, @Nullable String doc, @Nullable Map<String, String> properties) Creates an instance of aGenericTablerecord class.- Parameters:
name- the value for thenamerecord componentformat- the value for theformatrecord componentbaseLocation- the value for thebaseLocationrecord componentdoc- the value for thedocrecord componentproperties- the value for thepropertiesrecord component
-
-
Method Details
-
builder
public static org.apache.polaris.spark.rest.GenericTableBuilder builder() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
baseLocation
Returns the value of thebaseLocationrecord component.- Returns:
- the value of the
baseLocationrecord component
-
doc
Returns the value of thedocrecord component.- Returns:
- the value of the
docrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-