public class BFutureType extends BType
BTableType
represents tabular data in Ballerina.pkgPath, typeName, valueClass
Constructor and Description |
---|
BFutureType(BType constraint) |
BFutureType(String typeName,
String pkgPath)
Create a
BTableType which represents the SQL Result Set. |
Modifier and Type | Method and Description |
---|---|
BType |
getConstrainedType() |
<V extends BValue> |
getEmptyValue()
Get the empty initialized value of this type.
|
TypeSignature |
getSig() |
int |
getTag() |
<V extends BValue> |
getZeroValue()
Get the default value of the type.
|
equals, getName, getPackagePath, getValueClass, hashCode, isNative, isPublic, toString
public BFutureType(String typeName, String pkgPath)
BTableType
which represents the SQL Result Set.typeName
- string name of the typepkgPath
- of the typepublic BFutureType(BType constraint)
public BType getConstrainedType()
public <V extends BValue> V getZeroValue()
BType
BType#getInitValue()
.getZeroValue
in class BType
V
- Type of the valuepublic <V extends BValue> V getEmptyValue()
BType
BType#getDefaultValue()
).getEmptyValue
in class BType
V
- Type of the valuepublic TypeSignature getSig()
Copyright © 2018 WSO2. All rights reserved.