Package | Description |
---|---|
com.sap.cloud.sdk.result | |
com.sap.cloud.sdk.s4hana.connectivity.rfc |
Modifier and Type | Interface and Description |
---|---|
interface |
ResultCollection
Interface representing one collection of result elements (e.g.
|
interface |
ResultObject
Interface representing one structured object (e.g one complex business object) resulting from a call to an external
service (e.g.
|
interface |
ResultPrimitive
Class representing an unstructured result primitive resulting from a call to an external service (e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultResultCollection
This class provides an abstraction of a collection of result elements
|
class |
GsonResultObject
ResultObject implementation based on a JsonObject . |
class |
GsonResultPrimitive
ResultPrimitive implementation based on a JsonPrimitive . |
Modifier and Type | Method and Description |
---|---|
ResultElement |
GsonResultElementFactory.create(com.google.gson.JsonElement resultElement)
Creates a
ResultElement based on the given object. |
ResultElement |
ResultElementFactory.create(ResultElementT resultElement)
Creates a
ResultElement based on the given object. |
ResultElement |
GsonResultObject.get(String elementName)
Returns the element with the given name from this result.
|
ResultElement |
ResultObject.get(String elementName)
Returns one particular element inside this result object identified by its name.
|
Modifier and Type | Method and Description |
---|---|
Iterable<ResultElement> |
DefaultCollectedResultCollection.getResultElements() |
Iterable<ResultElement> |
DefaultResultCollection.getResultElements() |
Iterator<ResultElement> |
DefaultCollectedResultCollection.iterator() |
Iterator<ResultElement> |
DefaultResultCollection.iterator() |
Modifier and Type | Method and Description |
---|---|
Integer |
IntegerExtractor.extract(ResultElement resultElement) |
BigDecimal |
BigDecimalExtractor.extract(ResultElement resultElement) |
BigInteger |
BigIntegerExtractor.extract(ResultElement resultElement) |
T |
ObjectExtractor.extract(ResultElement resultElement)
Extracts the value of the given
ResultElement as the type T . |
CollectionT |
CollectionExtractor.extract(ResultElement resultElement)
Transforms the given
ResultElement into a Collection . |
Float |
FloatExtractor.extract(ResultElement resultElement) |
T |
GenericObjectExtractor.extract(ResultElement resultElement) |
Byte |
ByteExtractor.extract(ResultElement resultElement) |
Long |
LongExtractor.extract(ResultElement resultElement) |
Double |
DoubleExtractor.extract(ResultElement resultElement) |
T |
PrimitiveBasedObjectExtractor.extract(ResultElement resultElement) |
List<T> |
GenericCollectionExtractor.extract(ResultElement resultElement) |
Boolean |
BooleanExtractor.extract(ResultElement resultElement) |
String |
StringExtractor.extract(ResultElement resultElement) |
Short |
ShortExtractor.extract(ResultElement resultElement) |
Character |
CharacterExtractor.extract(ResultElement resultElement) |
Constructor and Description |
---|
DefaultCollectedResultCollection(String collectedElementName,
Iterable<ResultElement> resultElements) |
DefaultResultCollection(Iterable<ResultElement> resultElements) |
Modifier and Type | Method and Description |
---|---|
ResultElement |
AbstractRemoteFunctionRequestResult.get(int index)
Returns the element with the given name from this result.
|
ResultElement |
AbstractRemoteFunctionRequestResult.get(String elementName)
Returns the element with the given name from this result.
|
Modifier and Type | Method and Description |
---|---|
io.vavr.control.Option<ResultElement> |
AbstractRemoteFunctionRequestResult.getIfPresent(String elementName)
Returns the element with the given name from this result.
|
ArrayList<ResultElement> |
AbstractRemoteFunctionRequestResult.getResultElements() |
Iterator<ResultElement> |
AbstractRemoteFunctionRequestResult.iterator() |
Copyright © 2020 SAP SE. All rights reserved.