c

com.couchbase.spark.kv

KeyValueSourceInitialOffsetWriter

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

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

Instance Constructors

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

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 add(batchId: Long, metadata: Map[Int, KeyValueStreamOffset]): Boolean
    Definition Classes
    HDFSMetadataLog → MetadataLog
  5. def addNewBatchByStream(batchId: Long)(fn: (OutputStream) ⇒ Unit): Boolean
    Definition Classes
    HDFSMetadataLog
  6. def applyFnToBatchByStream[RET](batchId: Long, skipExistingCheck: Boolean)(fn: (InputStream) ⇒ RET): RET
    Definition Classes
    HDFSMetadataLog
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val batchCache: Map[Long, Map[Int, KeyValueStreamOffset]]
    Attributes
    protected[sql]
    Definition Classes
    HDFSMetadataLog
  9. val batchFilesFilter: PathFilter
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  10. def batchIdToPath(batchId: Long): Path
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  12. implicit val defaultFormats: DefaultFormats
  13. def deserialize(in: InputStream): Map[Int, KeyValueStreamOffset]
    Attributes
    protected
    Definition Classes
    KeyValueSourceInitialOffsetWriter → HDFSMetadataLog
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. val fileManager: CheckpointFileManager
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  17. def get(startId: Option[Long], endId: Option[Long]): Array[(Long, Map[Int, KeyValueStreamOffset])]
    Definition Classes
    HDFSMetadataLog → MetadataLog
  18. def get(batchId: Long): Option[Map[Int, KeyValueStreamOffset]]
    Definition Classes
    HDFSMetadataLog → MetadataLog
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def getLatest(): Option[(Long, Map[Int, KeyValueStreamOffset])]
    Definition Classes
    HDFSMetadataLog → MetadataLog
  21. def getLatestBatchId(): Option[Long]
    Definition Classes
    HDFSMetadataLog
  22. def getOrderedBatchFiles(): Array[FileStatus]
    Definition Classes
    HDFSMetadataLog
  23. def getPrevBatchFromStorage(batchId: Long): Option[Long]
    Definition Classes
    HDFSMetadataLog
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  25. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  26. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def isBatchFile(path: Path): Boolean
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  30. def listBatches: Array[Long]
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  31. def listBatchesOnDisk: Array[Long]
    Definition Classes
    HDFSMetadataLog
  32. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  33. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  40. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. val metadataCacheEnabled: Boolean
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  45. val metadataPath: Path
    Definition Classes
    HDFSMetadataLog
  46. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  49. def pathToBatchId(path: Path): Long
    Attributes
    protected
    Definition Classes
    HDFSMetadataLog
  50. def purge(thresholdBatchId: Long): Unit
    Definition Classes
    HDFSMetadataLog → MetadataLog
  51. def purgeAfter(thresholdBatchId: Long): Unit
    Definition Classes
    HDFSMetadataLog
  52. def serialize(metadata: Map[Int, KeyValueStreamOffset], out: OutputStream): Unit
    Attributes
    protected
    Definition Classes
    KeyValueSourceInitialOffsetWriter → HDFSMetadataLog
  53. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  54. def toString(): String
    Definition Classes
    AnyRef → Any
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. 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

Inherited from HDFSMetadataLog[Map[Int, KeyValueStreamOffset]]

Inherited from Logging

Inherited from MetadataLog[Map[Int, KeyValueStreamOffset]]

Inherited from AnyRef

Inherited from Any

Ungrouped