Methods
(static) empty() → {module:eclairjs/sql/types.Metadata}
Returns an empty Metadata.
- Source:
Returns:
(static) fromJson(json) → {module:eclairjs/sql/types.Metadata}
Creates a Metadata instance from JSON
Parameters:
Name | Type | Description |
---|---|---|
json |
string |
- Source:
Returns:
contains(key) → {boolean}
Tests whether this Metadata contains a binding for a key.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- boolean
equals(obj) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
- Source:
Returns:
- Type
- boolean
getBoolean(key) → {boolean}
Gets a Boolean.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- boolean
getBooleanArray(key) → {Array.<boolean>}
Gets a Boolean array.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- Array.<boolean>
getDouble(key) → {double}
Gets a Double.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- double
getDoubleArray(key) → {Array.<double>}
Gets a Double array.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- Array.<double>
getLong(key) → {long}
Gets a Long.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- long
getLongArray(key) → {Array.<long>}
Gets a Long array.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- Array.<long>
getMetadata(key) → {module:eclairjs/sql/types.Metadata}
Gets a Metadata.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
getMetadataArray(key) → {Array.<module:eclairjs/sql/types.Metadata>}
Gets a Metadata array.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- Array.<module:eclairjs/sql/types.Metadata>
getString(key) → {string}
Gets a String..
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- string
getStringArray(key) → {Array.<string>}
Gets a String array..
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- Array.<string>
hashCode() → {integer}
- Source:
Returns:
- Type
- integer
json() → {string}
Converts to its JSON representation.
- Source:
Returns:
- Type
- string
map() → {map}
- Source:
Returns:
- Type
- map