Module org.elasticsearch.server
Record Class BlockLoaderFunctionConfig.JustWarnings
java.lang.Object
java.lang.Record
org.elasticsearch.index.mapper.blockloader.BlockLoaderFunctionConfig.JustWarnings
- All Implemented Interfaces:
BlockLoaderFunctionConfig
- Enclosing interface:
BlockLoaderFunctionConfig
public static record BlockLoaderFunctionConfig.JustWarnings(BlockLoaderFunctionConfig.Function function, Warnings warnings)
extends Record
implements BlockLoaderFunctionConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.index.mapper.blockloader.BlockLoaderFunctionConfig
BlockLoaderFunctionConfig.Function, BlockLoaderFunctionConfig.JustFunction, BlockLoaderFunctionConfig.JustWarnings -
Constructor Summary
ConstructorsConstructorDescriptionJustWarnings(BlockLoaderFunctionConfig.Function function, Warnings warnings) Creates an instance of aJustWarningsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.function()Returns the value of thefunctionrecord component.inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
JustWarnings
Creates an instance of aJustWarningsrecord class.- Parameters:
function- the value for thefunctionrecord componentwarnings- the value for thewarningsrecord component
-
-
Method Details
-
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. -
function
Returns the value of thefunctionrecord component.- Specified by:
functionin interfaceBlockLoaderFunctionConfig- Returns:
- the value of the
functionrecord component
-
warnings
Returns the value of thewarningsrecord component.- Returns:
- the value of the
warningsrecord component
-