object Writable
The Writable object provides factory methods for creating instances of the Writable type
that operate with different types of output structures. It encapsulates reusable logic
to handle writing character sequences, rows, or other data in a structured manner.
- Alphabetic
- By Inheritance
- Writable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fileWritable(file: File): Writable[FileWriter]
Creates a
Writableinstance for handlingFileWriterobjects, enabling the writing of character sequences to a specified file.Creates a
Writableinstance for handlingFileWriterobjects, enabling the writing of character sequences to a specified file. ThisWritableinstance allows for creating a newFileWriter, appending raw character sequences to the file, and safely closing theFileWriter.- file
the
Fileobject representing the target file where data will be written.- returns
a
Writable[FileWriter]instance for operating withFileWriter.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def stringBuilderWritable(delim: CharSequence = ",", quoteChar: CharSequence = """""""): Writable[StringBuilder]
Creates a
Writableinstance forStringBuilderthat allows writing character sequences with configurable delimiters and quote characters.Creates a
Writableinstance forStringBuilderthat allows writing character sequences with configurable delimiters and quote characters.- delim
the delimiter character sequence used to separate elements, defaulting to ",".
- quoteChar
the quote character sequence used to quote elements if necessary, defaulting to "\"".
- returns
a
Writable[StringBuilder]instance for writing character sequences to aStringBuilder.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)