@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSparqlStreamResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSparqlStreamResult() |
Modifier and Type | Method and Description |
---|---|
GetSparqlStreamResult |
addLastEventIdEntry(String key,
String value)
Add a single LastEventId entry
|
GetSparqlStreamResult |
clearLastEventIdEntries()
Removes all the entries added into LastEventId.
|
GetSparqlStreamResult |
clone() |
boolean |
equals(Object obj) |
String |
getFormat()
Serialization format for the change records being returned.
|
Map<String,String> |
getLastEventId()
Sequence identifier of the last change in the stream response.
|
Long |
getLastTrxTimestampInMillis()
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
|
List<SparqlRecord> |
getRecords()
An array of serialized change-log stream records included in the response.
|
Integer |
getTotalRecords()
The total number of records in the response.
|
int |
hashCode() |
void |
setFormat(String format)
Serialization format for the change records being returned.
|
void |
setLastEventId(Map<String,String> lastEventId)
Sequence identifier of the last change in the stream response.
|
void |
setLastTrxTimestampInMillis(Long lastTrxTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
|
void |
setRecords(Collection<SparqlRecord> records)
An array of serialized change-log stream records included in the response.
|
void |
setTotalRecords(Integer totalRecords)
The total number of records in the response.
|
String |
toString()
Returns a string representation of this object.
|
GetSparqlStreamResult |
withFormat(String format)
Serialization format for the change records being returned.
|
GetSparqlStreamResult |
withLastEventId(Map<String,String> lastEventId)
Sequence identifier of the last change in the stream response.
|
GetSparqlStreamResult |
withLastTrxTimestampInMillis(Long lastTrxTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
|
GetSparqlStreamResult |
withRecords(Collection<SparqlRecord> records)
An array of serialized change-log stream records included in the response.
|
GetSparqlStreamResult |
withRecords(SparqlRecord... records)
An array of serialized change-log stream records included in the response.
|
GetSparqlStreamResult |
withTotalRecords(Integer totalRecords)
The total number of records in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,String> getLastEventId()
Sequence identifier of the last change in the stream response.
An event ID is composed of two fields: a commitNum
, which identifies a transaction that changed the
graph, and an opNum
, which identifies a specific operation within that transaction:
An event ID is composed of two fields: a commitNum
, which identifies a transaction that
changed the graph, and an opNum
, which identifies a specific operation within that
transaction:
public void setLastEventId(Map<String,String> lastEventId)
Sequence identifier of the last change in the stream response.
An event ID is composed of two fields: a commitNum
, which identifies a transaction that changed the
graph, and an opNum
, which identifies a specific operation within that transaction:
lastEventId
- Sequence identifier of the last change in the stream response.
An event ID is composed of two fields: a commitNum
, which identifies a transaction that
changed the graph, and an opNum
, which identifies a specific operation within that
transaction:
public GetSparqlStreamResult withLastEventId(Map<String,String> lastEventId)
Sequence identifier of the last change in the stream response.
An event ID is composed of two fields: a commitNum
, which identifies a transaction that changed the
graph, and an opNum
, which identifies a specific operation within that transaction:
lastEventId
- Sequence identifier of the last change in the stream response.
An event ID is composed of two fields: a commitNum
, which identifies a transaction that
changed the graph, and an opNum
, which identifies a specific operation within that
transaction:
public GetSparqlStreamResult addLastEventIdEntry(String key, String value)
public GetSparqlStreamResult clearLastEventIdEntries()
public void setLastTrxTimestampInMillis(Long lastTrxTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
lastTrxTimestampInMillis
- The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.public Long getLastTrxTimestampInMillis()
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
public GetSparqlStreamResult withLastTrxTimestampInMillis(Long lastTrxTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
lastTrxTimestampInMillis
- The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.public void setFormat(String format)
Serialization format for the change records being returned. Currently, the only supported value is
NQUADS
.
format
- Serialization format for the change records being returned. Currently, the only supported value is
NQUADS
.public String getFormat()
Serialization format for the change records being returned. Currently, the only supported value is
NQUADS
.
NQUADS
.public GetSparqlStreamResult withFormat(String format)
Serialization format for the change records being returned. Currently, the only supported value is
NQUADS
.
format
- Serialization format for the change records being returned. Currently, the only supported value is
NQUADS
.public List<SparqlRecord> getRecords()
An array of serialized change-log stream records included in the response.
public void setRecords(Collection<SparqlRecord> records)
An array of serialized change-log stream records included in the response.
records
- An array of serialized change-log stream records included in the response.public GetSparqlStreamResult withRecords(SparqlRecord... records)
An array of serialized change-log stream records included in the response.
NOTE: This method appends the values to the existing list (if any). Use
setRecords(java.util.Collection)
or withRecords(java.util.Collection)
if you want to override
the existing values.
records
- An array of serialized change-log stream records included in the response.public GetSparqlStreamResult withRecords(Collection<SparqlRecord> records)
An array of serialized change-log stream records included in the response.
records
- An array of serialized change-log stream records included in the response.public void setTotalRecords(Integer totalRecords)
The total number of records in the response.
totalRecords
- The total number of records in the response.public Integer getTotalRecords()
The total number of records in the response.
public GetSparqlStreamResult withTotalRecords(Integer totalRecords)
The total number of records in the response.
totalRecords
- The total number of records in the response.public String toString()
toString
in class Object
Object.toString()
public GetSparqlStreamResult clone()