Record Class Grok.Parser
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.plan.logical.Grok.Parser
- Enclosing class:
Grok
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.grok()Returns the value of thegrokrecord component.inthashCode()Returns a hash code value for this object.pattern()Returns the value of thepatternrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Parser
Creates an instance of aParserrecord class.- Parameters:
pattern- the value for thepatternrecord componentgrok- the value for thegrokrecord component
-
-
Method Details
-
extractedFields
-
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). -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-
grok
Returns the value of thegrokrecord component.- Returns:
- the value of the
grokrecord component
-