public class GridFsUploadOptions extends Object
Constructor and Description |
---|
GridFsUploadOptions()
Default constructor
|
GridFsUploadOptions(GridFsUploadOptions options)
Copy constructor
|
GridFsUploadOptions(JsonObject options)
Constructor from JSON
|
Modifier and Type | Method and Description |
---|---|
Integer |
getChunkSizeBytes() |
JsonObject |
getMetadata() |
void |
setChunkSizeBytes(Integer chunkSizeBytes) |
void |
setMetadata(JsonObject metadata) |
JsonObject |
toJson()
Convert to JSON
|
public GridFsUploadOptions()
public GridFsUploadOptions(GridFsUploadOptions options)
options
- the one to copypublic GridFsUploadOptions(JsonObject options)
options
- the JSONpublic JsonObject toJson()
public JsonObject getMetadata()
public void setMetadata(JsonObject metadata)
public Integer getChunkSizeBytes()
public void setChunkSizeBytes(Integer chunkSizeBytes)
Copyright © 2021 Eclipse. All rights reserved.