Class/Object

com.mchange.sc.v1.superflex

SuperFlexDbArchiver

Related Docs: object SuperFlexDbArchiver | package superflex

Permalink

abstract class SuperFlexDbArchiver extends Splitter

Linear Supertypes
Splitter, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SuperFlexDbArchiver
  2. Splitter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SuperFlexDbArchiver()

    Permalink

Type Members

  1. class FilesInfo extends AnyRef

    Permalink
    Attributes
    protected
  2. class Rec extends AnyRef

    Permalink

Abstract Value Members

  1. abstract val files: Seq[NamedDataFileSource]

    Permalink
    Attributes
    protected
  2. abstract val priorTableInfo: TableInfo

    Permalink
    Attributes
    protected
  3. abstract def readMetaData(br: BufferedReader): MetaData

    Permalink
    Attributes
    protected
  4. abstract def split(row: String): Array[String]

    Permalink
    Definition Classes
    Splitter

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object FilesInfo

    Permalink
    Attributes
    protected
  5. var _createDdl: Option[String]

    Permalink
    Attributes
    protected
  6. var _filesInfo: Option[FilesInfo]

    Permalink
    Attributes
    protected
  7. var _fkdLineKeepers: Option[Map[NamedDataFileSource, FkdLineKeeper]]

    Permalink
    Attributes
    protected
  8. var _labels: Option[Map[String, String]]

    Permalink
    Attributes
    protected
  9. var _maybeQualifiedTableName: Option[String]

    Permalink
    Attributes
    protected
  10. var _mergedPrologues: Option[String]

    Permalink
    Attributes
    protected
  11. var _metaDatas: Option[Array[MetaData]]

    Permalink
    Attributes
    protected
  12. var _pkConstraint: Option[String]

    Permalink
    Attributes
    protected
  13. var _unifiedNamesToColInfos: Option[Map[String, ColumnInfo]]

    Permalink
    Attributes
    protected
  14. var _unifiedTableInfo: Option[TableInfo]

    Permalink
    Attributes
    protected
  15. def afterAllInserts(csrc: ConnectionSource): Unit

    Permalink
    Attributes
    protected
  16. def afterRowInsert(con: Connection, data: Array[String], f: NamedDataFileSource, colNames: Seq[String]): Unit

    Permalink
    Attributes
    protected
  17. def afterTableCreate(con: Connection): Unit

    Permalink
    Attributes
    protected
  18. def archiveFiles(csrc: ConnectionSource): Unit

    Permalink
  19. def archiveFilesNoDups(csrc: ConnectionSource, imposePkConstraint: Boolean): Unit

    Permalink
  20. def archiveFilesNoDups(csrc: ConnectionSource): Unit

    Permalink
  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. def batchFileInserts: Boolean

    Permalink
    Attributes
    protected
  23. val bufferSize: Int

    Permalink
    Attributes
    protected
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. val colSort: Ordering[String]

    Permalink
    Attributes
    protected
  26. val concurrentInserts: Boolean

    Permalink
    Attributes
    protected
  27. def createLabelMap(md: MetaData, file: NamedDataFileSource): Option[Map[String, String]]

    Permalink
    Attributes
    protected
  28. val dateFormatPatterns: Iterable[String]

    Permalink
    Attributes
    protected
  29. val dateTimeFormatPatterns: Iterable[String]

    Permalink
    Attributes
    protected
  30. val debugColumnInspection: Boolean

    Permalink
    Attributes
    protected
  31. val defaultTypeDeclaration: (String, Int)

    Permalink
    Attributes
    protected
  32. def dropDeindexTable(csrc: ConnectionSource): Unit

    Permalink
  33. final def dropTable(stmt: Statement, mqtn: String): Unit

    Permalink
  34. final def dropTable(stmt: Statement): Unit

    Permalink
  35. final def dropTable(csrc: ConnectionSource, mqtn: String): Unit

    Permalink
  36. final def dropTable(csrc: ConnectionSource): Unit

    Permalink
  37. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  39. val fileEncoding: String

    Permalink
    Attributes
    protected
  40. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  41. def findLabels(metaDatas: Array[MetaData], files: Seq[NamedDataFileSource]): Map[String, String]

    Permalink

    An empty map, rather than a None value, signifies no labels

    An empty map, rather than a None value, signifies no labels

    Attributes
    protected
  42. def forceInferredType(colName: String, maxLength: Int): Option[(String, Int)]

    Permalink

    Can be set to override the usual inference process for a given column.

    Can be set to override the usual inference process for a given column. The return value is the SQL type that should be declared and the java.sql.Types code it should be associated with. Returning None means to use the usual inference process.

    Attributes
    protected
  43. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  44. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  45. def insertFiles(csrc: ConnectionSource, files: Iterable[NamedDataFileSource], filesInfo: FilesInfo, concurrent: Boolean, maybeQualifiedTableName: String): Unit

    Permalink
  46. def insertFiles(csrc: ConnectionSource): Unit

    Permalink
  47. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  48. def isNull(datum: String, colName: String): Boolean

    Permalink
    Attributes
    protected
  49. val leadingZerosNonNumeric: Boolean

    Permalink
    Attributes
    protected
  50. val maxBatchSize: Int

    Permalink
    Attributes
    protected
  51. val maxConcurrency: Int

    Permalink

    -1 means unlimited.

    -1 means unlimited. Only matters if concurrentInserts is true

    Attributes
    protected
  52. val mustInfer: Boolean

    Permalink
    Attributes
    protected
  53. final def nameOnlyColumnInfos(names: String*): Array[ColumnInfo]

    Permalink

    Just a utility for specifying synthetic columns whose type should be inferred like "natural" columns

    Just a utility for specifying synthetic columns whose type should be inferred like "natural" columns

    Attributes
    protected
  54. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  55. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  56. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  57. def padFieldLength(observedMaxLength: Int): Int

    Permalink
    Attributes
    protected
  58. def prepareTransformFileData(f: NamedDataFileSource, colNames: Array[String]): (Any, Any)

    Permalink

    when overriding, place the super.prepareTransformDataLines() in out._1, and your own info in out._2.

    when overriding, place the super.prepareTransformDataLines() in out._1, and your own info in out._2.

    super.prepareTransformDataLines() must always be called, as SuperFlexDbArchiver uses prepare / transform methods. They are not just hooks.

    Note -- any class that overrides prepare/prepareTransform method must override ALL THREE to pass the left side of the prepObj pair to and or call the superclass method.

    Attributes
    protected
  59. def prologuesDefined(): Boolean

    Permalink
    Attributes
    protected
  60. def quoteColName(colName: String): String

    Permalink

    Note -- this method will only be called if quoteColNames is overridden to true.

    Note -- this method will only be called if quoteColNames is overridden to true.

    Attributes
    protected
  61. val quoteColNames: Boolean

    Permalink
    Attributes
    protected
  62. def readDataLine(br: BufferedReader): String

    Permalink
    Attributes
    protected
  63. val shouldDrop: Boolean

    Permalink
    Attributes
    protected
  64. val strict: Boolean

    Permalink
    Attributes
    protected
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  66. def syntheticColumnValues(data: Array[String], f: NamedDataFileSource, colNames: Seq[String]): Array[String]

    Permalink
    Attributes
    protected
  67. def syntheticColumns(f: NamedDataFileSource, colNames: Seq[String]): Array[ColumnInfo]

    Permalink

    if table structure inference is disabled, then the synthetic columns must be fully specified.

    if table structure inference is disabled, then the synthetic columns must be fully specified. Otherwise, you can use nameOnlyColumnInfos(...) below.

    Attributes
    protected
  68. val tmpTablePfx: String

    Permalink
    Attributes
    protected
  69. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  70. def transformColName(colName: String): String

    Permalink
    Attributes
    protected
  71. def transformSplitData(data: Array[String], prepInfo: (Any, Any)): Array[String]

    Permalink

    when overriding, get the parent class' line using super.transformUnsplitDataLine( prepObj._1 ), and retrieve your own info from prepObj._2

    when overriding, get the parent class' line using super.transformUnsplitDataLine( prepObj._1 ), and retrieve your own info from prepObj._2

    super.transformSplitData() must always be called, as SuperFlexDbArchiver uses prepare / transform methods. They are not just hooks.

    Note -- any class that overrides prepare/prepareTransform method must override ALL THREE to pass the left side of the prepObj pair to and or call the superclass method.

    Attributes
    protected
  72. def transformUnsplitDataLine(line: String, prepInfo: (Any, Any)): String

    Permalink

    when overriding, get the parent class' line using super.prepareTransformUnsplitDataLine( prepObj._1 ), and retrieve your own info from prepObj._2

    when overriding, get the parent class' line using super.prepareTransformUnsplitDataLine( prepObj._1 ), and retrieve your own info from prepObj._2

    super.transformUnsplitDataLines() must always be called, as SuperFlexDbArchiver uses prepare / transform methods. They are not just hooks.

    Note -- any class that overrides prepare/prepareTransform method must override ALL THREE to pass the left side of the prepObj pair to and or call the superclass method.

    Attributes
    protected
  73. def validateMetaData(mds: MetaData): Unit

    Permalink

    throw an Exception if not valid

    throw an Exception if not valid

    Attributes
    protected
  74. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Splitter

Inherited from AnyRef

Inherited from Any

Ungrouped