Data transaction functions

The functions listed below retrieve data from the data transaction or from any list of objects of DataEntry.

# Name Description Complexity
1 getInteger(List[DataEntry], String): Int|Unit Gets an integer value from a list of data entires by key 10
2 getInteger(List[DataEntry], Int): Int|Unit Gets an integer value from a list of data entires by index 30
3 getIntegerValue(List[DataEntry], String): Int Gets an integer value from a list of data entires by key. Throws an exception if there is no data 10
4 getIntegerValue(List[DataEntry], Int): Int Gets an integer value from a list of data entires by index. Throws an exception if there is no data 30
5 getBoolean(List[DataEntry], String): Boolean|Unit Gets a boolean value from a list of data entires by key 10
6 getBoolean(List[DataEntry], Int): Boolean|Unit Gets a boolean value from a list of data entires by index 30
7 getBooleanValue(List[DataEntry], String): Boolean Gets a boolean value from a list of data entires by key. Throws an exception if there is no data 10
8 getBooleanValue(List[DataEntry], Int: Boolean Gets a boolean value from a list of data entires by index. Throws an exception if there is no data 30
9 getBinary(List[DataEntry], String): ByteVector|Unit Gets a binary value from a list of data entires by key 10
10 getBinary(List[DataEntry], Int): ByteVector|Unit Gets a binary value from a list of data entires by index 30
11 getBinaryValue(ListDataEntry, String): ByteVector Gets a binary value from a list of data entires by key. Throws an exception if there is no data 10
12 getBinaryValue(List[DataEntry], Int): ByteVector Gets a binary value from a list of data entires by index. Throws an exception if there is no data 30
13 getString(List[DataEntry] String): String|Unit Gets a string value from a list of data entires by key 10
14 getString(List[DataEntry], Int): String|Unit Gets a string value from a list of data entires by index 30
15 getStringValue(List[DataEntry], String): String Gets a string value from a list of data entires by key. Throws an exception if there is no data 10
16 getStringValue(List[DataEntry], Int): String Gets a string value from a list of data entires by index. Throws an exception if there is no data 30

getInteger(ListDataEntry, String): Int|Unit

Gets integer from a list of data entires by key.

getInteger(data: List[DataEntry], key: String): Int|Unit

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

key: String

Key.

getInteger(ListDataEntry, Int): Int|Unit

Gets an integer value from a list of data entires by index.

getInteger(data: List[DataEntry], index: Int): Int|Unit

Parameters

data: List[DataEntry]

DataEntry vector, usally tx.data.

index: Int

Index.

getIntegerValue(ListDataEntry, String): Int

Gets an integer value from a list of data entires by key. Throws an exception if there is no data.

getIntegerValue(data: List[DataEntry], key: String): Int

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

key: String

Key.

getIntegerValue(ListDataEntry, Int): Int

Gets an integer value from a list of data entires by index. Throws an exception if there is no data.

getIntegerValue(data: List[DataEntry], index: Int): Int

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

index: Int

Index.

getBoolean(List[DataEntry], String): Boolean|Unit

Gets a boolean value from a list of data entires by key.

getBoolean(data: List[DataEntry], key: String): Union of boolean

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

key: String

Key.

getBoolean(List[DataEntry], Int): Boolean|Unit

Gets a boolean value from a list of data entires by index.

getBoolean(data: List[DataEntry], index: Int): Union of boolean

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

index: Int

Index.

getBooleanValue(List[DataEntry], String): Boolean

Gets a boolean value from a list of data entires by key. Throws an exception if there is no data.

getBooleanValue(data: List[DataEntry], key: String): Boolean

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

key: String

Key.

getBooleanValue(List[DataEntry], Int): Boolean

Gets a boolean value from a list of data entires by index. Throws an exception if there is no data.

getBooleanValue(data: List[DataEntry], index: Int): Boolean

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

index: Int

Index.

getBinary(List[DataEntry], String): ByteVector|Unit

Gets a binary value from a list of data entires by key.

getBinary(data: List[DataEntry], key: String): Union of ByteVector

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

key: String

Key.

getBinary(List[DataEntry], Int): ByteVector|Unit

Gets a binary value from a list of data entires by index.

getBinary(data: List[DataEntry], index: Int): Union of ByteVector

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

index: Int

Index.

getBinaryValue(List[DataEntry], String): ByteVector

Gets a binary value from a list of data entires by key. Throws an exception if there is no data.

getBinaryValue(data: List[DataEntry], key: String): ByteVector

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

key: String

Key.

getBinaryValue(List[DataEntry], Int): ByteVector

Gets a binary value from a list of data entires by index. Throws an exception if there is no data.

getBinaryValue(data: List[DataEntry], index: Int): ByteVector

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

index: Int

Index.

getString(List[DataEntry], String): String|Unit

Gets a string value from a list of data entires by key.

getString(data: List[DataEntry], key: String): Union of string

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

key: String

Key.

getString(List[DataEntry], Int): String|Unit

Gets a string value from a list of data entires by index.

getString(data: List[DataEntry], index: Int): Union of string

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

index: Int

Index.

getStringValue(List[DataEntry], String): String

Gets a string value from a list of data entires by key. Throws an exception if there is no data.

getStringValue(data: List[DataEntry], key: String) : String

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

key: String

Key.

getStringValue(List[DataEntry], Int): String

Gets a string value from a list of data entires by index. Throws an exception if there is no data.

getStringValue(data: List[DataEntry], index: Int): String

Parameters

data: List[DataEntry]

DataEntry vector, usually tx.data.

index: Int

Index.

results matching ""

    No results matching ""