Trait

com.mchange.sc.v1.superflex

SelfIndexing

Related Doc: package superflex

Permalink

trait SelfIndexing extends SuperFlexDbArchiver

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

Type Members

  1. class FilesInfo extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  2. class Rec extends AnyRef

    Permalink
    Definition Classes
    SuperFlexDbArchiver

Abstract Value Members

  1. abstract def deindexTable(csrc: ConnectionSource): Unit

    Permalink
  2. abstract val files: Seq[NamedDataFileSource]

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  3. abstract def indexTable(csrc: ConnectionSource): Unit

    Permalink
  4. abstract val priorTableInfo: TableInfo

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  5. abstract def readMetaData(br: BufferedReader): MetaData

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  6. 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
    Definition Classes
    SuperFlexDbArchiver
  5. var _createDdl: Option[String]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    SelfIndexingSuperFlexDbArchiver
  20. def archiveFilesNoDups(csrc: ConnectionSource): Unit

    Permalink
    Definition Classes
    SuperFlexDbArchiver
  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. def batchFileInserts: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  23. val bufferSize: Int

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  24. def clone(): AnyRef

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

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  26. val concurrentInserts: Boolean

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  30. val debugColumnInspection: Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  46. def insertFiles(csrc: ConnectionSource): Unit

    Permalink
    Definition Classes
    SuperFlexDbArchiver
  47. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  49. val leadingZerosNonNumeric: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  50. val maxBatchSize: Int

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  51. val maxConcurrency: Int

    Permalink

    -1 means unlimited.

    -1 means unlimited. Only matters if concurrentInserts is true

    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  52. val mustInfer: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  59. def prologuesDefined(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  61. val quoteColNames: Boolean

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

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  63. val shouldDrop: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  64. val strict: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  68. val tmpTablePfx: String

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  69. def toString(): String

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

    Permalink
    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  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
    Definition Classes
    SuperFlexDbArchiver
  73. def validateMetaData(mds: MetaData): Unit

    Permalink

    throw an Exception if not valid

    throw an Exception if not valid

    Attributes
    protected
    Definition Classes
    SuperFlexDbArchiver
  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 SuperFlexDbArchiver

Inherited from Splitter

Inherited from AnyRef

Inherited from Any

Ungrouped