Package org.ehrbase.openehr.aqlengine
Record Class AqlConfigurationProperties
java.lang.Object
java.lang.Record
org.ehrbase.openehr.aqlengine.AqlConfigurationProperties
@ConfigurationProperties(prefix="ehrbase.aql")
public record AqlConfigurationProperties(boolean pgLljWorkaround, AqlConfigurationProperties.Experimental experimental)
extends Record
AQL features that can be optionally enabled.
pg-llj-workaroundEnables fix for an old postgresql bug where filters in lateral left joins inside a left join are not respected, default:trueexperimental.aql-on-folder.enabledif enabled allow to queryEHRFOLDERusing AQL, default:false
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAqlConfigurationProperties(boolean pgLljWorkaround, AqlConfigurationProperties.Experimental experimental) Creates an instance of aAqlConfigurationPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexperimentalrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thepgLljWorkaroundrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AqlConfigurationProperties
public AqlConfigurationProperties(boolean pgLljWorkaround, AqlConfigurationProperties.Experimental experimental) Creates an instance of aAqlConfigurationPropertiesrecord class.- Parameters:
pgLljWorkaround- the value for thepgLljWorkaroundrecord componentexperimental- the value for theexperimentalrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
pgLljWorkaround
public boolean pgLljWorkaround()Returns the value of thepgLljWorkaroundrecord component.- Returns:
- the value of the
pgLljWorkaroundrecord component
-
experimental
Returns the value of theexperimentalrecord component.- Returns:
- the value of the
experimentalrecord component
-