Record Class DocValueField
java.lang.Object
java.lang.Record
org.springframework.data.elasticsearch.core.query.DocValueField
-
Constructor Summary
ConstructorsConstructorDescriptionDocValueField(String field) DocValueField(String field, @Nullable String format) Creates an instance of aDocValueFieldrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.@Nullable Stringformat()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DocValueField
-
DocValueField
-
-
Method Details
-
toString
-
hashCode
-
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). -
field
Returns the value of thefieldrecord component.- Returns:
- the value of the
fieldrecord component
-
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-