c

com.couchbase.spark.kv

KeyValueSourceInitialOffsetWriter

class KeyValueSourceInitialOffsetWriter extends HDFSMetadataLog[Map[Int, KeyValueStreamOffset]]

Linear Supertypes
HDFSMetadataLog[Map[Int, KeyValueStreamOffset]], HDFSMetadataLog[Map[Int, KeyValueStreamOffset]], Logging, MetadataLog[Map[Int, KeyValueStreamOffset]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyValueSourceInitialOffsetWriter
  2. HDFSMetadataLog
  3. HDFSMetadataLog
  4. Logging
  5. MetadataLog
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new KeyValueSourceInitialOffsetWriter(sparkSession: SparkSession, metadataPath: String)

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def MDC(key: LogKey, value: Any): MDC
    Attributes
    protected
    Definition Classes
    Logging
  5. def add(batchId: Long, metadata: Map[Int, KeyValueStreamOffset]): Boolean
    Definition Classes
    HDFSMetadataLog → MetadataLog
  6. def addNewBatchByStream(batchId: Long)(fn: (OutputStream) => Unit): Boolean
    Definition Classes
    HDFSMetadataLog
  7. def applyFnToBatchByStream[RET](batchId: Long, skipExistingCheck: Boolean)(fn: (InputStream) => RET): RET
    Definition Classes
    HDFSMetadataLog
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val batchCache: Map[Long, Map[Int, KeyValueStreamOffset]]
    Attributes
    protected[sql]
    Definition Classes
    HDFSMetadataLog
  10. val batchFilesFilter: PathFilter
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  11. def batchIdToPath(batchId: Long): Path
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  13. implicit val defaultFormats: DefaultFormats
  14. def deserialize(in: InputStream): Map[Int, KeyValueStreamOffset]
    Attributes
    protected
    Definition Classes
    KeyValueSourceInitialOffsetWriter → HDFSMetadataLog
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. val fileManager: CheckpointFileManager
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  18. def get(startId: Option[Long], endId: Option[Long]): Array[(Long, Map[Int, KeyValueStreamOffset])]
    Definition Classes
    HDFSMetadataLog → MetadataLog
  19. def get(batchId: Long): Option[Map[Int, KeyValueStreamOffset]]
    Definition Classes
    HDFSMetadataLog → MetadataLog
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  21. def getLatest(): Option[(Long, Map[Int, KeyValueStreamOffset])]
    Definition Classes
    HDFSMetadataLog → MetadataLog
  22. def getLatestBatchId(): Option[Long]
    Definition Classes
    HDFSMetadataLog
  23. def getOrderedBatchFiles(): Array[FileStatus]
    Definition Classes
    HDFSMetadataLog
  24. def getPrevBatchFromStorage(batchId: Long): Option[Long]
    Definition Classes
    HDFSMetadataLog
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  26. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  27. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def isBatchFile(path: Path): Boolean
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  31. def listBatches: Array[Long]
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  32. def listBatchesOnDisk: Array[Long]
    Definition Classes
    HDFSMetadataLog
  33. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  34. def logBasedOnLevel(level: Level)(f: => MessageWithContext): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  48. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. val metadataCacheEnabled: Boolean
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  57. val metadataPath: Path
    Definition Classes
    HDFSMetadataLog
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  61. def pathToBatchId(path: Path): Long
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  62. def purge(thresholdBatchId: Long): Unit
    Definition Classes
    HDFSMetadataLog → MetadataLog
  63. def purgeAfter(thresholdBatchId: Long): Unit
    Definition Classes
    HDFSMetadataLog
  64. def serialize(metadata: Map[Int, KeyValueStreamOffset], out: OutputStream): Unit
    Attributes
    protected
    Definition Classes
    KeyValueSourceInitialOffsetWriter → HDFSMetadataLog
  65. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  66. def toString(): String
    Definition Classes
    AnyRef → Any
  67. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  69. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  70. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  71. def write(batchMetadataFile: Path, fn: (OutputStream) => Unit): Unit
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from HDFSMetadataLog[Map[Int, KeyValueStreamOffset]]

Inherited from HDFSMetadataLog[Map[Int, KeyValueStreamOffset]]

Inherited from Logging

Inherited from MetadataLog[Map[Int, KeyValueStreamOffset]]

Inherited from AnyRef

Inherited from Any

Ungrouped