Documentation
¶
Index ¶
Constants ¶
View Source
const BulkBadgerDefaults = "compression=snappy; numgoroutines=8;"
Variables ¶
View Source
var Bulk x.SubCommand
Bulk is the sub-command invoked when running "dgraph bulk".
Functions ¶
func RunBulkLoader ¶
func RunBulkLoader(opt BulkOptions)
Types ¶
type BulkOptions ¶
type BulkOptions struct {
DataFiles string
DataFormat string
SchemaFile string
GqlSchemaFile string
OutDir string
ReplaceOutDir bool
TmpDir string
NumGoroutines int
MapBufSize uint64
PartitionBufSize int64
SkipMapPhase bool
CleanupTmp bool
NumReducers int
Version bool
StoreXids bool
ZeroAddr string
ConnStr string
HttpAddr string
IgnoreErrors bool
CustomTokenizers string
NewUids bool
ClientDir string
Encrypted bool
EncryptedOut bool
MapShards int
ReduceShards int
Namespace uint64
// ........... Badger options ..........
// EncryptionKey is the key used for encryption.
EncryptionKey x.Sensitive
// Badger options.
Badger badger.Options
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.