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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionConfig(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 aConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncaching()Returns the value of thecachingrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.lang()Returns the value of thelangrecord component.order()Returns the value of theorderrecord component.path()Returns the value of thepathrecord component.seed()Returns the value of theseedrecord component.Returns the value of theseparatorrecord component.template()Returns the value of thetemplaterecord component.final StringtoString()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 aConfigrecord class.- Parameters:
path- the value for thepathrecord componentformat- the value for theformatrecord componentseparator- the value for theseparatorrecord componentcaching- the value for thecachingrecord componentorder- the value for theorderrecord componentseed- the value for theseedrecord componentlang- the value for thelangrecord componenttemplate- the value for thetemplaterecord 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 thepathrecord component.- Returns:
- the value of the
pathrecord component
-
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
separator
Returns the value of theseparatorrecord component.- Returns:
- the value of the
separatorrecord component
-
caching
Returns the value of thecachingrecord component.- Returns:
- the value of the
cachingrecord component
-
order
Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
seed
Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-
lang
Returns the value of thelangrecord component.- Returns:
- the value of the
langrecord component
-
template
Returns the value of thetemplaterecord component.- Returns:
- the value of the
templaterecord component
-