Package org.rumbledb.cli
Record Class CLIInvocation
java.lang.Object
java.lang.Record
org.rumbledb.cli.CLIInvocation
public record CLIInvocation(RumbleConfiguration configuration, ExternalBindings bindings)
extends Record
Parsed command-line inputs, kept separate because bindings are query inputs
rather than engine configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCLIInvocation(RumbleConfiguration configuration, ExternalBindings bindings) Creates an instance of aCLIInvocationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbindings()Returns the value of thebindingsrecord component.Returns the value of theconfigurationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CLIInvocation
Creates an instance of aCLIInvocationrecord class.- Parameters:
configuration- the value for theconfigurationrecord componentbindings- the value for thebindingsrecord component
-
-
Method Details
-
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). -
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
bindings
Returns the value of thebindingsrecord component.- Returns:
- the value of the
bindingsrecord component
-