Package | Description |
---|---|
org.ballerinalang.bre.bvm | |
org.ballerinalang.model | |
org.ballerinalang.model.util | |
org.ballerinalang.model.values |
Modifier and Type | Class and Description |
---|---|
class |
GlobalMemoryBlock
The
GlobalMemoryBlock represents the global memory block in Ballerina VM. |
Modifier and Type | Field and Description |
---|---|
BRefType<?>[] |
WorkerData.refRegs |
BRefType |
WorkerDataChannel.WorkerResult.value |
Modifier and Type | Method and Description |
---|---|
BRefType |
GlobalMemoryBlock.getRefField(int index) |
BRefType |
GlobalMemoryArea.getRefField(int pkgIndex,
int varIndex) |
BRefType[] |
StackFrame.getRefRegs() |
Modifier and Type | Method and Description |
---|---|
static void |
CPU.copyArgValueForWorkerReceive(WorkerData currentSF,
int regIndex,
BType paramType,
BRefType passedInValue) |
void |
WorkerDataChannel.putData(BRefType data) |
void |
GlobalMemoryBlock.setRefField(int index,
BRefType value) |
void |
GlobalMemoryArea.setRefField(int pkgIndex,
int varIndex,
BRefType value) |
void |
StackFrame.setRefRegs(BRefType[] refRegs) |
Constructor and Description |
---|
WorkerResult(BRefType value) |
Modifier and Type | Method and Description |
---|---|
BRefType<?> |
TableJSONDataSource.JSONObjectGenerator.transform(BTable table)
Converts the current position of the given table to a JSON.
|
Modifier and Type | Method and Description |
---|---|
static BRefType<?> |
JSONUtils.convertJSON(BRefType<?> jsonValue,
BType targetType) |
static BRefType<?> |
JSONUtils.convertMapToJSON(BMap<String,BValue> map,
BJSONType targetType)
Convert map value to JSON.
|
static BRefType<?> |
JSONUtils.convertUnionTypeToJSON(BRefType<?> source,
BJSONType targetType) |
static BRefType<?> |
JSONUtils.getArrayElement(BRefType<?> json,
long index)
Get an element from a JSON array.
|
static BRefType<?> |
JSONUtils.getElement(BValue json,
String elementName)
Get an element from a JSON.
|
static BRefType<?> |
JsonParser.parse(InputStream in)
Parses the contents in the given
InputStream and returns a BValue . |
static BRefType<?> |
JsonParser.parse(InputStream in,
String charsetName)
Parses the contents in the given
InputStream and returns a BValue . |
static BRefType<?> |
JsonParser.parse(Reader reader)
|
static BRefType<?> |
JsonParser.parse(String jsonStr)
Parses the contents in the given string and returns a
BValue . |
static BRefType<?> |
JSONUtils.toJSON(BTable table,
boolean isInTransaction)
Convert
BTable to JSON. |
Modifier and Type | Method and Description |
---|---|
static BRefType<?> |
JSONUtils.convertJSON(BRefType<?> jsonValue,
BType targetType) |
static BRefType<?> |
JSONUtils.convertUnionTypeToJSON(BRefType<?> source,
BJSONType targetType) |
static BRefType<?> |
JSONUtils.getArrayElement(BRefType<?> json,
long index)
Get an element from a JSON array.
|
static boolean |
JSONUtils.hasElement(BRefType<?> json,
String elementName)
Check whether JSON has particular field.
|
static void |
JSONUtils.setArrayElement(BValue json,
long index,
BRefType<?> element)
Set an element in the given position of a JSON array.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BFuture
Ballerina base value for the "future" type.
|
interface |
BIterator
{@link BIterator} represents a Iterator of a Ballerina {@link BCollection} . |
Modifier and Type | Class and Description |
---|---|
class |
BBoolean
The
BBoolean represents a boolean value in Ballerina. |
class |
BBooleanArray |
class |
BByte
The
BByte represents a byte value in Ballerina. |
class |
BByteArray
BByteArray represents a byte array in Ballerina. |
class |
BCallableFuture
Ballerina value for the callable "future" type.
|
class |
BFloat
The
BFloat represents a float value in Ballerina. |
class |
BFloatArray |
class |
BFunctionPointer
{@link BFunctionPointer} represents a function pointer reference value in Ballerina. |
class |
BIntArray |
class |
BInteger
The
BInteger represents a int value in Ballerina. |
class |
BIntRange
{@link BIntRange} represents integer range in Ballerina. |
class |
BMap<K,V extends BValue>
MapType represents a map. |
class |
BNewArray
BArray represents an arrays in Ballerina. |
class |
BRefValueArray |
class |
BService
The
BService represents a service value in Ballerina. |
class |
BStream
The
BStream represents a stream in Ballerina. |
class |
BStreamingJSON
BStreamingJSON represent a JSON array generated from a JSONDataSource . |
class |
BString
The
BString represents a string in Ballerina. |
class |
BStringArray |
class |
BTable
The
BTable represents a data set in Ballerina. |
class |
BTypeDescValue
Ballerina Value that encapsulates a Ballerina Type.
|
class |
BXML<T>
BXML represents a XML in Ballerina. |
class |
BXMLAttributes
The
BString represents a XML attributes map in ballerina, denoted by 'foo@', where foo is an xml variable. |
class |
BXMLItem
BXML represents a single XML item in Ballerina. |
class |
BXMLQName
Represents a XML qualified name in ballerina.
|
class |
BXMLSequence
BXMLSequence represents a sequence of BXMLItem s in Ballerina. |
Modifier and Type | Method and Description |
---|---|
BRefType<?> |
BRefValueArray.get(long index) |
BRefType<?> |
BStreamingJSON.get(long index) |
BRefType |
StructureType.getRefField(int index) |
BRefType<?>[] |
BRefValueArray.getValues() |
BRefType<?>[] |
BStreamingJSON.getValues() |
BRefType<?> |
BNewArray.value() |
Modifier and Type | Method and Description |
---|---|
void |
BRefValueArray.add(long index,
BRefType<?> value) |
void |
BStreamingJSON.add(long index,
BRefType<?> value) |
void |
BRefValueArray.append(BRefType<?> value) |
void |
StructureType.setRefField(int index,
BRefType value) |
Constructor and Description |
---|
BRefValueArray(BRefType<?>[] values,
BType type) |
Copyright © 2018 WSO2. All rights reserved.