class StandardCsvGenerator[T] extends CsvGenerator[T]
The StandardCsvGenerator class extends the CsvGenerator trait to provide functionality
for generating standardized CSV output. It utilizes implicit CsvAttributes for configuring
the delimiter and quote character used in the CSV representation.
- T
the type of the objects for which this generator creates column names.
- Alphabetic
- By Inheritance
- StandardCsvGenerator
- CsvGenerator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StandardCsvGenerator()(implicit ca: CsvAttributes)
Creates a new
StandardCsvGeneratorinstance with implicitCsvAttributesproviding the configuration for CSV generation.Creates a new
StandardCsvGeneratorinstance with implicitCsvAttributesproviding the configuration for CSV generation.- ca
an implicit instance of
CsvAttributeswhich defines the delimiter and quote character.
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()
- val csvAttributes: CsvAttributes
- Definition Classes
- StandardCsvGenerator → CsvGenerator
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- def merge(po: Option[String], no: Option[String]): Option[String]
Merges two optional strings into a single optional string.
Merges two optional strings into a single optional string. If both
poandnoare defined, the resulting string is their concatenation in the formatpo.no. If only one of the options is defined, it returns that single option. If neither are defined, it returnsNone.- po
an optional prefix string; if defined, it will form the first part of the resulting string.
- no
an optional suffix string; if defined, it will form the second part of the resulting string.
- returns
an optional string in the format
po.noif both options are defined, or the defined option if only one is present, orNoneif both areNone.
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toColumnName(po: Option[String], name: String): String
Converts a column name into a qualified column name by optionally prefixing it with a provided qualifier.
Converts a column name into a qualified column name by optionally prefixing it with a provided qualifier.
- po
an optional qualifier (e.g., a table alias) to prepend to the column name. If
None, no qualifier is prepended.- name
the column name to be qualified.
- returns
a fully-qualified column name in the format "qualifier.name" if
pois defined, or justnameifpoisNone.
- Definition Classes
- StandardCsvGenerator → CsvGenerator
- 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)