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 |
---|---|
boolean |
equals(Object o) |
Integer |
getChunkSizeBytes() |
JsonObject |
getMetadata() |
int |
hashCode() |
GridFsUploadOptions |
setChunkSizeBytes(Integer chunkSizeBytes) |
GridFsUploadOptions |
setMetadata(JsonObject metadata) |
JsonObject |
toJson()
Convert to JSON
|
String |
toString() |
public GridFsUploadOptions()
public GridFsUploadOptions(GridFsUploadOptions options)
options
- the one to copypublic GridFsUploadOptions(JsonObject options)
options
- the JSONpublic JsonObject toJson()
public JsonObject getMetadata()
public GridFsUploadOptions setMetadata(JsonObject metadata)
public Integer getChunkSizeBytes()
public GridFsUploadOptions setChunkSizeBytes(Integer chunkSizeBytes)
Copyright © 2024 Eclipse. All rights reserved.