Record Class DatabeanExportService.DatabeanExportRequest<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>

java.lang.Object
java.lang.Record
io.datarouter.plugin.dataexport.service.exporting.DatabeanExportService.DatabeanExportRequest<PK,D,F>
Enclosing class:
DatabeanExportService

public static record DatabeanExportService.DatabeanExportRequest<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>(io.datarouter.storage.file.Directory tableDirectory, DatabeanExportKvFileService kvFileService, io.datarouter.types.Ulid exportId, io.datarouter.storage.node.op.raw.read.SortedStorageReader.PhysicalSortedStorageReaderNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>> node, io.datarouter.nodewatch.service.TableSamplerService tableSamplerService, io.datarouter.util.tuple.Range<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>> pkRange, long maxRows, io.datarouter.scanner.Threads partThreads, ExecutorService prefetchExec, int scanBatchSize, int tableSamplesPerPart) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    DatabeanExportRequest(io.datarouter.storage.file.Directory tableDirectory, DatabeanExportKvFileService kvFileService, io.datarouter.types.Ulid exportId, io.datarouter.storage.node.op.raw.read.SortedStorageReader.PhysicalSortedStorageReaderNode<PK,D,F> node, io.datarouter.nodewatch.service.TableSamplerService tableSamplerService, io.datarouter.util.tuple.Range<PK> pkRange, long maxRows, io.datarouter.scanner.Threads partThreads, ExecutorService prefetchExec, int scanBatchSize, int tableSamplesPerPart)
    Creates an instance of a DatabeanExportRequest record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    io.datarouter.types.Ulid
    Returns the value of the exportId record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the kvFileService record component.
    long
    Returns the value of the maxRows record component.
    io.datarouter.storage.node.op.raw.read.SortedStorageReader.PhysicalSortedStorageReaderNode<PK,D,F>
    Returns the value of the node record component.
    io.datarouter.scanner.Threads
    Returns the value of the partThreads record component.
    io.datarouter.util.tuple.Range<PK>
    Returns the value of the pkRange record component.
    Returns the value of the prefetchExec record component.
    int
    Returns the value of the scanBatchSize record component.
    io.datarouter.storage.file.Directory
    Returns the value of the tableDirectory record component.
    io.datarouter.nodewatch.service.TableSamplerService
    Returns the value of the tableSamplerService record component.
    int
    Returns the value of the tableSamplesPerPart record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DatabeanExportRequest

      public DatabeanExportRequest(io.datarouter.storage.file.Directory tableDirectory, DatabeanExportKvFileService kvFileService, io.datarouter.types.Ulid exportId, io.datarouter.storage.node.op.raw.read.SortedStorageReader.PhysicalSortedStorageReaderNode<PK,D,F> node, io.datarouter.nodewatch.service.TableSamplerService tableSamplerService, io.datarouter.util.tuple.Range<PK> pkRange, long maxRows, io.datarouter.scanner.Threads partThreads, ExecutorService prefetchExec, int scanBatchSize, int tableSamplesPerPart)
      Creates an instance of a DatabeanExportRequest record class.
      Parameters:
      tableDirectory - the value for the tableDirectory record component
      kvFileService - the value for the kvFileService record component
      exportId - the value for the exportId record component
      node - the value for the node record component
      tableSamplerService - the value for the tableSamplerService record component
      pkRange - the value for the pkRange record component
      maxRows - the value for the maxRows record component
      partThreads - the value for the partThreads record component
      prefetchExec - the value for the prefetchExec record component
      scanBatchSize - the value for the scanBatchSize record component
      tableSamplesPerPart - the value for the tableSamplesPerPart record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • tableDirectory

      public io.datarouter.storage.file.Directory tableDirectory()
      Returns the value of the tableDirectory record component.
      Returns:
      the value of the tableDirectory record component
    • kvFileService

      public DatabeanExportKvFileService kvFileService()
      Returns the value of the kvFileService record component.
      Returns:
      the value of the kvFileService record component
    • exportId

      public io.datarouter.types.Ulid exportId()
      Returns the value of the exportId record component.
      Returns:
      the value of the exportId record component
    • node

      public io.datarouter.storage.node.op.raw.read.SortedStorageReader.PhysicalSortedStorageReaderNode<PK,D,F> node()
      Returns the value of the node record component.
      Returns:
      the value of the node record component
    • tableSamplerService

      public io.datarouter.nodewatch.service.TableSamplerService tableSamplerService()
      Returns the value of the tableSamplerService record component.
      Returns:
      the value of the tableSamplerService record component
    • pkRange

      public io.datarouter.util.tuple.Range<PK> pkRange()
      Returns the value of the pkRange record component.
      Returns:
      the value of the pkRange record component
    • maxRows

      public long maxRows()
      Returns the value of the maxRows record component.
      Returns:
      the value of the maxRows record component
    • partThreads

      public io.datarouter.scanner.Threads partThreads()
      Returns the value of the partThreads record component.
      Returns:
      the value of the partThreads record component
    • prefetchExec

      public ExecutorService prefetchExec()
      Returns the value of the prefetchExec record component.
      Returns:
      the value of the prefetchExec record component
    • scanBatchSize

      public int scanBatchSize()
      Returns the value of the scanBatchSize record component.
      Returns:
      the value of the scanBatchSize record component
    • tableSamplesPerPart

      public int tableSamplesPerPart()
      Returns the value of the tableSamplesPerPart record component.
      Returns:
      the value of the tableSamplesPerPart record component