deephaven.ImportTools.MergeData

Easy to use wrapper for merging data.

class MergeDataBuilder(*args, **kwargs)
build()

Creates a MergeData object using the properties that have been set in the MergeData.Builder.

Returns

(com.illumon.iris.importers.util.MergeData) new MergeData object.

property builder

The java builder object.

setAllowEmptyInput(allowEmptyInput)

Sets if empty inputs are allowed.

Parameters

allowEmptyInput – java.lang.Boolean

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setCodecName(codecName)

Sets the codec.

Parameters

codecName – java.lang.String

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setForce(force)

Sets whether to force merge when destinations already have data.

Parameters

force – java.lang.Boolean

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setLowHeapUsage(lowHeapUsage)

Sets how much heap to use.

Parameters

lowHeapUsage – java.lang.Boolean

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setPartitionColumnFormula(partColumnFormula)

Sets the partition column formula.

Parameters

partColumnFormula – java.lang.String

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setPartitionColumnValue(partColumnValue)

Sets the partition column value. This method adds quotes around a literal partition value to make a formula.

Parameters

partColumnValue – java.lang.String

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setSortColumnFormula(sortColumnFormula)

Sets the sort column formula.

Parameters

sortColumnFormula – java.lang.String

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setStorageFormat(storageFormat)

Sets the storage format.

Parameters

storageFormat – java.lang.String

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setSyncMode(syncMode)

Sets the data synchornization mode.

Parameters

syncMode – java.lang.String

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

setThreadPoolSize(threadPoolSize)

Sets the thread pool size.

Parameters

threadPoolSize – int

Returns

(com.illumon.iris.importers.util.MergeData.Builder) this builder.

builder(database, namespace, table)
Creates a new MergeDataBuilder object. Method calls on this object can then be used to configure

the merge and run it.

Parameters
  • database – (com.illumon.iris.db.tables.databases.Database) - database.

  • namespace – (java.lang.String) - namespace into which data will be merged.

  • table – (java.lang.String) - name of the table into which data will be merged.

Returns

(com.illumon.iris.importers.util.MergeDataBuilder) new MergeDataBuilder.