Package io.datarouter.bytes.kvfile
Record Class KvFileMerger.KvFileMergerKvReaderParams
java.lang.Object
java.lang.Record
io.datarouter.bytes.kvfile.KvFileMerger.KvFileMergerKvReaderParams
- Enclosing class:
- KvFileMerger
public static record KvFileMerger.KvFileMergerKvReaderParams(int parseBatchSize, io.datarouter.scanner.Threads parseThreads)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKvFileMergerKvReaderParams(int parseBatchSize, io.datarouter.scanner.Threads parseThreads) Creates an instance of aKvFileMergerKvReaderParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theparseBatchSizerecord component.io.datarouter.scanner.ThreadsReturns the value of theparseThreadsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KvFileMergerKvReaderParams
public KvFileMergerKvReaderParams(int parseBatchSize, io.datarouter.scanner.Threads parseThreads) Creates an instance of aKvFileMergerKvReaderParamsrecord class.- Parameters:
parseBatchSize- the value for theparseBatchSizerecord componentparseThreads- the value for theparseThreadsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
parseBatchSize
public int parseBatchSize()Returns the value of theparseBatchSizerecord component.- Returns:
- the value of the
parseBatchSizerecord component
-
parseThreads
public io.datarouter.scanner.Threads parseThreads()Returns the value of theparseThreadsrecord component.- Returns:
- the value of the
parseThreadsrecord component
-