@Value.Immutable public abstract class MongoImportArguments extends Object implements MongoToolsArguments
| Constructor and Description |
|---|
MongoImportArguments() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
asArguments(ServerAddress serverAddress) |
static ImmutableMongoImportArguments.Builder |
builder() |
abstract Optional<String> |
collectionName() |
abstract Optional<String> |
databaseName() |
static ImmutableMongoImportArguments |
defaults() |
boolean |
dropCollection() |
abstract Optional<String> |
importFile() |
boolean |
isHeaderline() |
boolean |
isJsonArray() |
Optional<String> |
type() |
boolean |
upsertDocuments() |
boolean |
verbose() |
@Value.Default public boolean verbose()
@Value.Default public boolean isHeaderline()
@Value.Default public boolean isJsonArray()
@Value.Default public boolean dropCollection()
@Value.Default public boolean upsertDocuments()
@Value.Auxiliary public List<String> asArguments(ServerAddress serverAddress)
asArguments in interface MongoToolsArgumentspublic static ImmutableMongoImportArguments.Builder builder()
public static ImmutableMongoImportArguments defaults()
Copyright © 2024. All rights reserved.