Package org.graylog2.indexer.indexset
Record Class IndexSetMappingTemplate
java.lang.Object
java.lang.Record
org.graylog2.indexer.indexset.IndexSetMappingTemplate
public record IndexSetMappingTemplate(String indexAnalyzer, String indexWildcard, CustomFieldMappings customFieldMappings)
extends Record
Part of
IndexSetConfig and IndexSet needed by index template building.-
Constructor Summary
ConstructorsConstructorDescriptionIndexSetMappingTemplate(String indexAnalyzer, String indexWildcard, CustomFieldMappings customFieldMappings) Creates an instance of aIndexSetMappingTemplaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecustomFieldMappingsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theindexAnalyzerrecord component.Returns the value of theindexWildcardrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IndexSetMappingTemplate
public IndexSetMappingTemplate(String indexAnalyzer, String indexWildcard, CustomFieldMappings customFieldMappings) Creates an instance of aIndexSetMappingTemplaterecord class.- Parameters:
indexAnalyzer- the value for theindexAnalyzerrecord componentindexWildcard- the value for theindexWildcardrecord componentcustomFieldMappings- the value for thecustomFieldMappingsrecord 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). -
indexAnalyzer
Returns the value of theindexAnalyzerrecord component.- Returns:
- the value of the
indexAnalyzerrecord component
-
indexWildcard
Returns the value of theindexWildcardrecord component.- Returns:
- the value of the
indexWildcardrecord component
-
customFieldMappings
Returns the value of thecustomFieldMappingsrecord component.- Returns:
- the value of the
customFieldMappingsrecord component
-