Package org.aksw.iguana.cc.query.handler
Record Class QueryHandler.Config
java.lang.Object
java.lang.Record
org.aksw.iguana.cc.query.handler.QueryHandler.Config
- Enclosing class:
- QueryHandler
public static record QueryHandler.Config(String path, QueryHandler.Config.Format format, String separator, Boolean caching, QueryHandler.Config.Order order, Long seed, QueryHandler.Config.Language lang, QueryHandler.Config.Template template)
extends Record
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
static final record
-
Constructor Summary
ConstructorDescriptionConfig
(String path, QueryHandler.Config.Format format, String separator, Boolean caching, QueryHandler.Config.Order order, Long seed, QueryHandler.Config.Language lang) Config
(String path, QueryHandler.Config.Format format, String separator, Boolean caching, QueryHandler.Config.Order order, Long seed, QueryHandler.Config.Language lang, QueryHandler.Config.Template template) Creates an instance of aConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptioncaching()
Returns the value of thecaching
record component.final boolean
Indicates whether some other object is "equal to" this one.format()
Returns the value of theformat
record component.final int
hashCode()
Returns a hash code value for this object.lang()
Returns the value of thelang
record component.order()
Returns the value of theorder
record component.path()
Returns the value of thepath
record component.seed()
Returns the value of theseed
record component.Returns the value of theseparator
record component.template()
Returns the value of thetemplate
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Config
public Config(String path, QueryHandler.Config.Format format, String separator, Boolean caching, QueryHandler.Config.Order order, Long seed, QueryHandler.Config.Language lang, QueryHandler.Config.Template template) Creates an instance of aConfig
record class.- Parameters:
path
- the value for thepath
record componentformat
- the value for theformat
record componentseparator
- the value for theseparator
record componentcaching
- the value for thecaching
record componentorder
- the value for theorder
record componentseed
- the value for theseed
record componentlang
- the value for thelang
record componenttemplate
- the value for thetemplate
record component
-
Config
public Config(String path, QueryHandler.Config.Format format, String separator, Boolean caching, QueryHandler.Config.Order order, Long seed, QueryHandler.Config.Language lang)
-
-
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)
. -
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
format
Returns the value of theformat
record component.- Returns:
- the value of the
format
record component
-
separator
Returns the value of theseparator
record component.- Returns:
- the value of the
separator
record component
-
caching
Returns the value of thecaching
record component.- Returns:
- the value of the
caching
record component
-
order
Returns the value of theorder
record component.- Returns:
- the value of the
order
record component
-
seed
Returns the value of theseed
record component.- Returns:
- the value of the
seed
record component
-
lang
Returns the value of thelang
record component.- Returns:
- the value of the
lang
record component
-
template
Returns the value of thetemplate
record component.- Returns:
- the value of the
template
record component
-