Record Class Dissect.Parser
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.plan.logical.Dissect.Parser
- All Implemented Interfaces:
Writeable
- Enclosing class:
Dissect
public static record Dissect.Parser(String pattern, String appendSeparator, DissectParser parser)
extends Record
implements Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionParser(String pattern, String appendSeparator, DissectParser parser) Creates an instance of aParserrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappendSeparatorrecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.keyAttributes(Source src) parser()Returns the value of theparserrecord component.pattern()Returns the value of thepatternrecord component.static Dissect.ParserreadFrom(StreamInput in) final StringtoString()Returns a string representation of this record class.voidwriteTo(StreamOutput out)
-
Constructor Details
-
Parser
Creates an instance of aParserrecord class.- Parameters:
pattern- the value for thepatternrecord componentappendSeparator- the value for theappendSeparatorrecord componentparser- the value for theparserrecord component
-
-
Method Details
-
readFrom
- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
keyAttributes
-
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
-
appendSeparator
Returns the value of theappendSeparatorrecord component.- Returns:
- the value of the
appendSeparatorrecord component
-
parser
Returns the value of theparserrecord component.- Returns:
- the value of the
parserrecord component
-