public class ShowFilesRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showFiles(ShowFilesRequest)
.
Shows information about files in KiFS. Can be used for individual files, or to show all files in a given directory.
Constructor and Description |
---|
ShowFilesRequest()
Constructs a ShowFilesRequest object with default parameters.
|
ShowFilesRequest(List<String> paths,
Map<String,String> options)
Constructs a ShowFilesRequest object with the specified 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.
|
Map<String,String> |
getOptions() |
List<String> |
getPaths() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
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.
|
ShowFilesRequest |
setOptions(Map<String,String> options) |
ShowFilesRequest |
setPaths(List<String> paths) |
String |
toString() |
public ShowFilesRequest()
public ShowFilesRequest(List<String> paths, Map<String,String> options)
paths
- File paths to show. Each path can be a KiFS directory
name, or a full path to a KiFS file. File paths may
contain wildcard characters after the KiFS directory
delimeter.
Accepted wildcard characters are asterisk (*) to represent
any string of zero or more characters, and question mark
(?) to indicate a single character.options
- Optional parameters. The default value is an empty
Map
.public static org.apache.avro.Schema getClassSchema()
public List<String> getPaths()
public ShowFilesRequest setPaths(List<String> paths)
paths
- File paths to show. Each path can be a KiFS directory
name, or a full path to a KiFS file. File paths may
contain wildcard characters after the KiFS directory
delimeter.
Accepted wildcard characters are asterisk (*) to represent
any string of zero or more characters, and question mark
(?) to indicate a single character.this
to mimic the builder pattern.public Map<String,String> getOptions()
Map
.public ShowFilesRequest setOptions(Map<String,String> options)
options
- Optional parameters. The default value is an empty
Map
.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2024. All rights reserved.