public abstract class UESObjectListing
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
commonPrefixes
Common prefixes included in this object listing.
|
private java.lang.String |
delimiter
The
delimiter parameter originally used to request this object listing, or null if no
delimiter specified. |
private java.lang.String |
marker
The
marker parameter originally used to request this object listing, or null if no marker
was specified. |
private java.lang.String |
nextMarker
The marker to use in the next
getObjectList request in order to see the next page of results. |
private java.util.List<UESStorageObjectSummary> |
objectSummaries
List of object summaries describing the objects stored in the UDDS bucket.
|
private int |
pageSize
The
maxListingLength parameter originally used to request this object listing, or the default
maxListingLength value provided by UDDS if the requester didn't specify a value. |
private java.lang.String |
prefix
The
prefix parameter originally used to request this object listing, or null if no prefix
was specified. |
private boolean |
trunkated
Whether or not this object listing is complete.
|
Constructor and Description |
---|
UESObjectListing() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getCommonPrefixes()
Gets the common prefixes included in this object listing.
|
java.lang.String |
getDelimiter()
Getter for property delimiter.
|
java.lang.String |
getMarker()
Getter for property marker.
|
java.lang.String |
getNextMarker()
Getter for property nextMarker.
|
java.util.List<UESStorageObjectSummary> |
getObjectSummaries()
Gets the list of object summaries describing the objects stored in the UDDS bucket.
|
int |
getPageSize()
Getter for property pageSize.
|
java.lang.String |
getPrefix()
Getter for property prefix.
|
boolean |
isTrunkated()
Getter for property trunkated.
|
void |
setCommonPrefixes(java.util.List<java.lang.String> commonPrefixes)
Setter for property commonPrefixes.
|
void |
setDelimiter(java.lang.String delimiter)
Setter for property delimiter.
|
void |
setMarker(java.lang.String marker)
Setter for property marker.
|
void |
setNextMarker(java.lang.String nextMarker)
Setter for property nextMarker.
|
protected void |
setObjectSummaries(java.util.List<UESStorageObjectSummary> objectSummaries)
Setter for property objectSummaries.
|
void |
setPageSize(int pageSize)
Setter for property pageSize.
|
void |
setPrefix(java.lang.String prefix)
Setter for property prefix.
|
void |
setTrunkated(boolean trunkated)
Setter for property trunkated.
|
prefix
parameter originally used to request this object listing, or null
if no prefix
was specified.marker
parameter originally used to request this object listing, or null
if no marker
was specified.delimiter
parameter originally used to request this object listing, or null
if no
delimiter specified.maxListingLength
parameter originally used to request this object listing, or the default
maxListingLength
value provided by UDDS if the requester didn't specify a value.getObjectList
request in order to see the next page of results.prefix
- the prefix to setmarker
- the marker to setdelimiter
- the delimiter to setpageSize
- the pageSize to setnextMarker
- the nextMarker to setEach common prefix represents a set of keys in the UDDS bucket that have been condensed and omitted from the object summary results. This allows applications to organize and browse their keys hierarchically, similar to how a file system organizes files into directories.
For example, consider a bucket that contains the following keys:
If calling getObjectList
with the prefix="foo/" and the delimiter="/" on this bucket, the returned
UESObjectListing
will contain one entry in the common prefixes list ("foo/bar/") and none of the keys
beginning with that common prefix will be included in the object summaries list.
commonPrefixes
- the commonPrefixes to settrunkated
- the trunkated to setUESObjectListing.isTrunkated()
method to see if the returned listing
is complete or if additional calls are needed to get more results. Callers might need to make additional calls to
UESStorageService#getNextObjectIdList(String, UESObjectListing)
to get additional results.objectSummaries
- the objectSummaries to set