Package ch.so.agi.gretl.internal.duckdb
Record Class PostgresTableSpec
java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.duckdb.PostgresTableSpec
-
Constructor Summary
ConstructorsConstructorDescriptionPostgresTableSpec(String physicalSchema, String physicalTable, String alias, String mode, List<String> columns, List<GeometryOverrideSpec> geometries) Creates an instance of aPostgresTableSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.columns()Returns the value of thecolumnsrecord component.final booleanIndicates whether some other object is "equal to" this one.static PostgresTableSpecfromQualifiedName(String name, String alias, String mode, List<String> columns, List<GeometryOverrideSpec> geometries) Returns the value of thegeometriesrecord component.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.Returns the value of thephysicalSchemarecord component.Returns the value of thephysicalTablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PostgresTableSpec
public PostgresTableSpec(String physicalSchema, String physicalTable, String alias, String mode, List<String> columns, List<GeometryOverrideSpec> geometries) Creates an instance of aPostgresTableSpecrecord class.- Parameters:
physicalSchema- the value for thephysicalSchemarecord componentphysicalTable- the value for thephysicalTablerecord componentalias- the value for thealiasrecord componentmode- the value for themoderecord componentcolumns- the value for thecolumnsrecord componentgeometries- the value for thegeometriesrecord component
-
-
Method Details
-
fromQualifiedName
public static PostgresTableSpec fromQualifiedName(String name, String alias, String mode, List<String> columns, List<GeometryOverrideSpec> geometries) -
physicalName
-
inputSignature
-
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). -
physicalSchema
Returns the value of thephysicalSchemarecord component.- Returns:
- the value of the
physicalSchemarecord component
-
physicalTable
Returns the value of thephysicalTablerecord component.- Returns:
- the value of the
physicalTablerecord component
-
alias
Returns the value of thealiasrecord component.- Returns:
- the value of the
aliasrecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-
geometries
Returns the value of thegeometriesrecord component.- Returns:
- the value of the
geometriesrecord component
-