Package ch.so.agi.gretl.internal.duckdb
Record Class GpkgSourceSpec
java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.duckdb.GpkgSourceSpec
- All Implemented Interfaces:
DuckDbSourceSpec
public record GpkgSourceSpec(String alias, Path file, String mode, List<GpkgLayerSpec> layers)
extends Record
implements DuckDbSourceSpec
-
Constructor Summary
ConstructorsConstructorDescriptionGpkgSourceSpec(String alias, Path file, String mode, List<GpkgLayerSpec> layers) Creates an instance of aGpkgSourceSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.final booleanIndicates whether some other object is "equal to" this one.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.layers()Returns the value of thelayersrecord component.mode()Returns the value of themoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GpkgSourceSpec
Creates an instance of aGpkgSourceSpecrecord class.- Parameters:
alias- the value for thealiasrecord componentfile- the value for thefilerecord componentmode- the value for themoderecord componentlayers- the value for thelayersrecord component
-
-
Method Details
-
requiredExtensions
- Specified by:
requiredExtensionsin interfaceDuckDbSourceSpec
-
inputSignature
- Specified by:
inputSignaturein interfaceDuckDbSourceSpec
-
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). -
alias
Returns the value of thealiasrecord component.- Specified by:
aliasin interfaceDuckDbSourceSpec- Returns:
- the value of the
aliasrecord component
-
file
Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
layers
Returns the value of thelayersrecord component.- Returns:
- the value of the
layersrecord component
-