public class ShowFilesResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showFiles(ShowFilesRequest).| Modifier and Type | Class and Description |
|---|---|
static class |
ShowFilesResponse.Info
Additional information.
|
| Constructor and Description |
|---|
ShowFilesResponse()
Constructs a ShowFilesResponse object with default parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<Long> |
getCreationTimes() |
List<String> |
getFileNames() |
Map<String,String> |
getInfo() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<Long> |
getSizes() |
List<String> |
getUsers() |
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ShowFilesResponse |
setCreationTimes(List<Long> creationTimes) |
ShowFilesResponse |
setFileNames(List<String> fileNames) |
ShowFilesResponse |
setInfo(Map<String,String> info) |
ShowFilesResponse |
setSizes(List<Long> sizes) |
ShowFilesResponse |
setUsers(List<String> users) |
String |
toString() |
public ShowFilesResponse()
public static org.apache.avro.Schema getClassSchema()
public ShowFilesResponse setFileNames(List<String> fileNames)
fileNames - A listing of files in the paths specifiedthis to mimic the builder pattern.public ShowFilesResponse setSizes(List<Long> sizes)
sizes - Size of each file, in bytesthis to mimic the builder pattern.public ShowFilesResponse setUsers(List<String> users)
users - User that created the filethis to mimic the builder pattern.public List<Long> getCreationTimes()
public ShowFilesResponse setCreationTimes(List<Long> creationTimes)
creationTimes - Creation time for each file, in milliseconds since
epochthis to mimic the builder pattern.public Map<String,String> getInfo()
MULTIPART_UPLOADS: JSON-encoded information about multipart
uploads in progress
public ShowFilesResponse setInfo(Map<String,String> info)
info - Additional information.
MULTIPART_UPLOADS: JSON-encoded information about
multipart uploads in progress
this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2024. All rights reserved.