Package ch.so.agi.gretl.internal.duckdb
Record Class PostgresJdbcUrl
java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.duckdb.PostgresJdbcUrl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondatabase()Returns the value of thedatabaserecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.host()Returns the value of thehostrecord component.Returns the value of theparametersrecord component.static PostgresJdbcUrlintport()Returns the value of theportrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PostgresJdbcUrl
Creates an instance of aPostgresJdbcUrlrecord class.- Parameters:
host- the value for thehostrecord componentport- the value for theportrecord componentdatabase- the value for thedatabaserecord componentparameters- the value for theparametersrecord component
-
-
Method Details
-
parse
-
libpqOptionsWithoutCredentials
-
inputSignatureWithoutCredentials
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
host
Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
port
public int port()Returns the value of theportrecord component.- Returns:
- the value of the
portrecord component
-
database
Returns the value of thedatabaserecord component.- Returns:
- the value of the
databaserecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-