Index
All Classes and Interfaces|All Packages
A
- ANY - Enum constant in enum class com.ladybugdb.DataTypeID
- ARRAY - Enum constant in enum class com.ladybugdb.DataTypeID
B
- BLOB - Enum constant in enum class com.ladybugdb.DataTypeID
- BOOL - Enum constant in enum class com.ladybugdb.DataTypeID
C
- checkNotDestroyed() - Method in class com.ladybugdb.Value
-
Check if the Value has been destroyed.
- clone() - Method in class com.ladybugdb.DataType
-
Clone the data type instance.
- clone() - Method in class com.ladybugdb.Value
-
Clone the Value.
- close() - Method in class com.ladybugdb.Connection
-
Close the connection and release the underlying resources.
- close() - Method in class com.ladybugdb.Database
-
Close the database and release the underlying resources.
- close() - Method in class com.ladybugdb.DataType
-
Close the datatype and release the underlying resources.
- close() - Method in class com.ladybugdb.FlatTuple
-
Close the flat tuple and release the underlying resources.
- close() - Method in class com.ladybugdb.LbugList
-
Closes this object, relinquishing the underlying value
- close() - Method in class com.ladybugdb.LbugMap
-
Closes this object, relinquishing the underlying value
- close() - Method in class com.ladybugdb.LbugStruct
-
Closes this object, relinquishing the underlying value
- close() - Method in class com.ladybugdb.PreparedStatement
-
Close the prepared statement and release the underlying resources.
- close() - Method in class com.ladybugdb.QueryResult
-
Close the query result and release the underlying resources.
- close() - Method in class com.ladybugdb.Value
-
Close the value and release the underlying resources.
- com.ladybugdb - package com.ladybugdb
-
Lbug Java API.
- Connection - Class in com.ladybugdb
-
Connection is used to interact with a Database instance.
- Connection(Database) - Constructor for class com.ladybugdb.Connection
-
Creates a connection to the database.
- copy(Value) - Method in class com.ladybugdb.Value
-
Copy the Value from another Value.
- createDefault(DataType) - Static method in class com.ladybugdb.Value
-
Create a default Value with the given data type.
- createNull() - Static method in class com.ladybugdb.Value
-
Create a null Value.
- createNullWithDataType(DataType) - Static method in class com.ladybugdb.Value
-
Create a null Value with the given data type.
D
- Database - Class in com.ladybugdb
-
The Database class is the main class of LbugDB.
- Database() - Constructor for class com.ladybugdb.Database
-
Creates a database object.
- Database(String) - Constructor for class com.ladybugdb.Database
-
Creates a database object.
- Database(String, long, boolean, boolean, long, boolean, long, boolean, boolean) - Constructor for class com.ladybugdb.Database
-
Creates a database object.
- DataType - Class in com.ladybugdb
-
DataType is the lbug internal representation of data types.
- DataType(DataTypeID) - Constructor for class com.ladybugdb.DataType
-
Create a non-nested DataType object from its internal ID.
- DataType(DataTypeID, DataType, long) - Constructor for class com.ladybugdb.DataType
- DataTypeID - Enum Class in com.ladybugdb
-
data type ID.
- DATE - Enum constant in enum class com.ladybugdb.DataTypeID
- DECIMAL - Enum constant in enum class com.ladybugdb.DataTypeID
- DOUBLE - Enum constant in enum class com.ladybugdb.DataTypeID
E
- equals(DataType) - Method in class com.ladybugdb.DataType
-
Returns true if the given data type is equal to the other data type, false otherwise.
- equals(Object) - Method in class com.ladybugdb.InternalID
-
Compares this InternalID to another object for equality.
- execute(PreparedStatement, Map<String, Value>) - Method in class com.ladybugdb.Connection
-
Executes the given prepared statement with args and returns the result.
F
- FlatTuple - Class in com.ladybugdb
-
FlatTuple stores a vector of values.
- FlatTuple() - Constructor for class com.ladybugdb.FlatTuple
- FLOAT - Enum constant in enum class com.ladybugdb.DataTypeID
G
- getChildType() - Method in class com.ladybugdb.DataType
-
Returns the child type of the given data type.
- getColumnDataType(long) - Method in class com.ladybugdb.QueryResult
-
Get the column data type at the given index.
- getColumnName(long) - Method in class com.ladybugdb.QueryResult
-
Get the column name at the given index.
- getCompilingTime() - Method in class com.ladybugdb.QuerySummary
-
Get the compiling time of the query.
- getDataType() - Method in class com.ladybugdb.Value
-
Get the data type of the Value.
- getDstID(Value) - Static method in class com.ladybugdb.ValueRelUtil
-
Get dst id of the given rel value.
- getErrorMessage() - Method in class com.ladybugdb.PreparedStatement
-
Get the error message if the query is not prepared successfully.
- getErrorMessage() - Method in class com.ladybugdb.QueryResult
-
Get the error message if any.
- getExecutionTime() - Method in class com.ladybugdb.QuerySummary
-
Get the execution time of the query.
- getFieldNameByIndex(long) - Method in class com.ladybugdb.LbugStruct
-
Get the name of the field at the given index
- getFixedNumElementsInList() - Method in class com.ladybugdb.DataType
-
Returns the fixed number of elements in the list of the given data type.
- getID() - Method in class com.ladybugdb.DataType
-
Returns the enum internal id of the given data type.
- getID(Value) - Static method in class com.ladybugdb.ValueNodeUtil
-
Get the internal ID of the node value.
- getID(Value) - Static method in class com.ladybugdb.ValueRelUtil
-
Get the id of the given rel value.
- getIndexByFieldName(String) - Method in class com.ladybugdb.LbugStruct
-
Get the index of the field with the given name
- getKey(long) - Method in class com.ladybugdb.LbugMap
-
Get the key at the given index.
- getLabelName(Value) - Static method in class com.ladybugdb.ValueNodeUtil
-
Get the label name of the node value.
- getLabelName(Value) - Static method in class com.ladybugdb.ValueRelUtil
-
Get the label name of the rel value.
- getListElement(long) - Method in class com.ladybugdb.LbugList
-
Get the element at the given index from the given list.
- getListSize() - Method in class com.ladybugdb.LbugList
-
Get the size of the list.
- getMaxNumThreadForExec() - Method in class com.ladybugdb.Connection
-
Return the maximum number of threads used for execution in the current connection.
- getNext() - Method in class com.ladybugdb.QueryResult
-
Get the next tuple.
- getNextQueryResult() - Method in class com.ladybugdb.QueryResult
-
Get the next query result.
- getNodeList(Value) - Static method in class com.ladybugdb.ValueRecursiveRelUtil
-
Get the node list from the given recursive_rel value.
- getNumColumns() - Method in class com.ladybugdb.QueryResult
-
Get the number of columns in the query result.
- getNumFields() - Method in class com.ladybugdb.LbugMap
- getNumFields() - Method in class com.ladybugdb.LbugStruct
- getNumTuples() - Method in class com.ladybugdb.QueryResult
-
Get the number of tuples in the query result.
- getPropertyNameAt(Value, long) - Static method in class com.ladybugdb.ValueNodeUtil
-
Get the property name at the given index from the given node value.
- getPropertyNameAt(Value, long) - Static method in class com.ladybugdb.ValueRelUtil
-
Get the property name at the given index from the given rel value.
- getPropertySize(Value) - Static method in class com.ladybugdb.ValueNodeUtil
-
Get the property size of the node value.
- getPropertySize(Value) - Static method in class com.ladybugdb.ValueRelUtil
-
Get the property size of the rel value.
- getPropertyValueAt(Value, long) - Static method in class com.ladybugdb.ValueNodeUtil
-
Get the property value at the given index from the given node value.
- getPropertyValueAt(Value, long) - Static method in class com.ladybugdb.ValueRelUtil
-
Get the property value at the given index from the given rel value.
- getQuerySummary() - Method in class com.ladybugdb.QueryResult
-
Get the query summary.
- getRelList(Value) - Static method in class com.ladybugdb.ValueRecursiveRelUtil
-
Get the rel list from the given recursive_rel value.
- getSrcID(Value) - Static method in class com.ladybugdb.ValueRelUtil
-
Get src id of the given rel value.
- getStorageVersion() - Static method in class com.ladybugdb.Version
-
Get the storage version of the Lbug.
- getValue() - Method in class com.ladybugdb.LbugList
- getValue() - Method in class com.ladybugdb.LbugMap
- getValue() - Method in class com.ladybugdb.LbugStruct
- getValue() - Method in class com.ladybugdb.Value
-
Get the actual value from the Value.
- getValue(long) - Method in class com.ladybugdb.FlatTuple
-
Get the value at the given index.
- getValue(long) - Method in class com.ladybugdb.LbugMap
-
Get the value at the given index.
- getValueByFieldName(String) - Method in class com.ladybugdb.LbugStruct
-
Get the value of the field with the given name
- getValueByIndex(long) - Method in class com.ladybugdb.LbugStruct
-
Get the value of the field at the given index
- getVersion() - Static method in class com.ladybugdb.Version
-
Get the version of the Lbug.
H
- hashCode() - Method in class com.ladybugdb.InternalID
-
Returns the hash code value for this InternalID.
- hasNext() - Method in class com.ladybugdb.QueryResult
-
Return if the query result has next tuple or not.
- hasNextQueryResult() - Method in class com.ladybugdb.QueryResult
-
Return if the query result has next query result or not.
I
- INT128 - Enum constant in enum class com.ladybugdb.DataTypeID
- INT16 - Enum constant in enum class com.ladybugdb.DataTypeID
- INT32 - Enum constant in enum class com.ladybugdb.DataTypeID
- INT64 - Enum constant in enum class com.ladybugdb.DataTypeID
- INT8 - Enum constant in enum class com.ladybugdb.DataTypeID
- INTERNAL_ID - Enum constant in enum class com.ladybugdb.DataTypeID
- InternalID - Class in com.ladybugdb
-
InternalID type which stores the table_id and offset of a node/rel.
- InternalID(long, long) - Constructor for class com.ladybugdb.InternalID
-
Create an InternalID from the given table_id and offset.
- interrupt() - Method in class com.ladybugdb.Connection
-
Interrupts all queries currently executed within this connection.
- INTERVAL - Enum constant in enum class com.ladybugdb.DataTypeID
- isNull() - Method in class com.ladybugdb.Value
-
Check if the Value is null.
- isOwnedByCPP() - Method in class com.ladybugdb.QueryResult
- isOwnedByCPP() - Method in class com.ladybugdb.Value
- isSuccess() - Method in class com.ladybugdb.PreparedStatement
-
Check if the query is prepared successfully or not.
- isSuccess() - Method in class com.ladybugdb.QueryResult
-
Check if the query is executed successfully.
L
- lbugConnectionDestroy(Connection) - Static method in class com.ladybugdb.Native
- lbugConnectionExecute(Connection, PreparedStatement, Map<String, Value>) - Static method in class com.ladybugdb.Native
- lbugConnectionGetMaxNumThreadForExec(Connection) - Static method in class com.ladybugdb.Native
- lbugConnectionInit(Database) - Static method in class com.ladybugdb.Native
- lbugConnectionInterrupt(Connection) - Static method in class com.ladybugdb.Native
- lbugConnectionPrepare(Connection, String) - Static method in class com.ladybugdb.Native
- lbugConnectionQuery(Connection, String) - Static method in class com.ladybugdb.Native
- lbugConnectionSetMaxNumThreadForExec(Connection, long) - Static method in class com.ladybugdb.Native
- lbugConnectionSetQueryTimeout(Connection, long) - Static method in class com.ladybugdb.Native
- lbugCreateList(DataType, long) - Static method in class com.ladybugdb.Native
- lbugCreateList(Value[]) - Static method in class com.ladybugdb.Native
- lbugCreateMap(Value[], Value[]) - Static method in class com.ladybugdb.Native
- lbugCreateStruct(String[], Value[]) - Static method in class com.ladybugdb.Native
- lbugDatabaseDestroy(Database) - Static method in class com.ladybugdb.Native
- lbugDatabaseInit(String, long, boolean, boolean, long, boolean, long, boolean, boolean) - Static method in class com.ladybugdb.Native
- lbugDatabaseSetLoggingLevel(String) - Static method in class com.ladybugdb.Native
- lbugDataTypeClone(DataType) - Static method in class com.ladybugdb.Native
- lbugDataTypeCreate(DataTypeID, DataType, long) - Static method in class com.ladybugdb.Native
- lbugDataTypeDestroy(DataType) - Static method in class com.ladybugdb.Native
- lbugDataTypeEquals(DataType, DataType) - Static method in class com.ladybugdb.Native
- lbugDataTypeGetChildType(DataType) - Static method in class com.ladybugdb.Native
- lbugDataTypeGetId(DataType) - Static method in class com.ladybugdb.Native
- lbugDataTypeGetNumElementsInArray(DataType) - Static method in class com.ladybugdb.Native
- lbugFlatTupleDestroy(FlatTuple) - Static method in class com.ladybugdb.Native
- lbugFlatTupleGetValue(FlatTuple, long) - Static method in class com.ladybugdb.Native
- lbugFlatTupleToString(FlatTuple) - Static method in class com.ladybugdb.Native
- lbugGetStorageVersion() - Static method in class com.ladybugdb.Native
- lbugGetVersion() - Static method in class com.ladybugdb.Native
- LbugList - Class in com.ladybugdb
- LbugList(DataType, long) - Constructor for class com.ladybugdb.LbugList
-
Construct a list of a specific size populated with the default element
- LbugList(Value) - Constructor for class com.ladybugdb.LbugList
-
Construct a list from a value
- LbugList(Value[]) - Constructor for class com.ladybugdb.LbugList
-
Construct a list literal from an array of values
- LbugMap - Class in com.ladybugdb
- LbugMap(Value) - Constructor for class com.ladybugdb.LbugMap
-
Construct a map from a value
- LbugMap(Value[], Value[]) - Constructor for class com.ladybugdb.LbugMap
-
Construct a map literal from a given set of keys/values.
- lbugNativeReloadLibrary(String) - Static method in class com.ladybugdb.Native
- lbugNodeValGetId(Value) - Static method in class com.ladybugdb.Native
- lbugNodeValGetLabelName(Value) - Static method in class com.ladybugdb.Native
- lbugNodeValGetPropertyNameAt(Value, long) - Static method in class com.ladybugdb.Native
- lbugNodeValGetPropertySize(Value) - Static method in class com.ladybugdb.Native
- lbugNodeValGetPropertyValueAt(Value, long) - Static method in class com.ladybugdb.Native
- lbugNodeValToString(Value) - Static method in class com.ladybugdb.Native
- lbugPreparedStatementDestroy(PreparedStatement) - Static method in class com.ladybugdb.Native
- lbugPreparedStatementGetErrorMessage(PreparedStatement) - Static method in class com.ladybugdb.Native
- lbugPreparedStatementIsSuccess(PreparedStatement) - Static method in class com.ladybugdb.Native
- lbugQueryResultDestroy(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultGetColumnDataType(QueryResult, long) - Static method in class com.ladybugdb.Native
- lbugQueryResultGetColumnName(QueryResult, long) - Static method in class com.ladybugdb.Native
- lbugQueryResultGetErrorMessage(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultGetNext(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultGetNextQueryResult(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultGetNumColumns(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultGetNumTuples(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultGetQuerySummary(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultHasNext(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultHasNextQueryResult(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultIsSuccess(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultResetIterator(QueryResult) - Static method in class com.ladybugdb.Native
- lbugQueryResultToString(QueryResult) - Static method in class com.ladybugdb.Native
- lbugRelValGetDstId(Value) - Static method in class com.ladybugdb.Native
- lbugRelValGetId(Value) - Static method in class com.ladybugdb.Native
- lbugRelValGetLabelName(Value) - Static method in class com.ladybugdb.Native
- lbugRelValGetPropertyNameAt(Value, long) - Static method in class com.ladybugdb.Native
- lbugRelValGetPropertySize(Value) - Static method in class com.ladybugdb.Native
- lbugRelValGetPropertyValueAt(Value, long) - Static method in class com.ladybugdb.Native
- lbugRelValGetSrcId(Value) - Static method in class com.ladybugdb.Native
- lbugRelValToString(Value) - Static method in class com.ladybugdb.Native
- LbugStruct - Class in com.ladybugdb
- LbugStruct(Value) - Constructor for class com.ladybugdb.LbugStruct
-
Construct a struct from a value
- LbugStruct(String[], Value[]) - Constructor for class com.ladybugdb.LbugStruct
-
Construct a struct literal from a given set of fields.
- LbugStruct(Map<String, Value>) - Constructor for class com.ladybugdb.LbugStruct
-
Construct a struct literal from a given set of fields represented as a Java map.
- lbugValueClone(Value) - Static method in class com.ladybugdb.Native
- lbugValueCopy(Value, Value) - Static method in class com.ladybugdb.Native
- lbugValueCreateDefault(DataType) - Static method in class com.ladybugdb.Native
- lbugValueCreateNull() - Static method in class com.ladybugdb.Native
- lbugValueCreateNullWithDataType(DataType) - Static method in class com.ladybugdb.Native
- lbugValueCreateValue(T) - Static method in class com.ladybugdb.Native
- lbugValueDestroy(Value) - Static method in class com.ladybugdb.Native
- lbugValueGetDataType(Value) - Static method in class com.ladybugdb.Native
- lbugValueGetListElement(Value, long) - Static method in class com.ladybugdb.Native
- lbugValueGetListSize(Value) - Static method in class com.ladybugdb.Native
- lbugValueGetStructFieldName(Value, long) - Static method in class com.ladybugdb.Native
- lbugValueGetStructIndex(Value, String) - Static method in class com.ladybugdb.Native
- lbugValueGetValue(Value) - Static method in class com.ladybugdb.Native
- lbugValueIsNull(Value) - Static method in class com.ladybugdb.Native
- lbugValueSetNull(Value, boolean) - Static method in class com.ladybugdb.Native
- lbugValueToString(Value) - Static method in class com.ladybugdb.Native
- LIST - Enum constant in enum class com.ladybugdb.DataTypeID
M
- MAP - Enum constant in enum class com.ladybugdb.DataTypeID
N
- Native - Class in com.ladybugdb
-
Native is a wrapper class for the native library.
- Native() - Constructor for class com.ladybugdb.Native
- NODE - Enum constant in enum class com.ladybugdb.DataTypeID
O
- offset - Variable in class com.ladybugdb.InternalID
P
- prepare(String) - Method in class com.ladybugdb.Connection
-
Prepares the given query and returns the prepared statement.
- PreparedStatement - Class in com.ladybugdb
-
PreparedStatement is a parameterized query which can avoid planning the same query for repeated execution.
- PreparedStatement() - Constructor for class com.ladybugdb.PreparedStatement
Q
- query(String) - Method in class com.ladybugdb.Connection
-
Executes the given query and returns the result.
- QueryResult - Class in com.ladybugdb
-
QueryResult stores the result of a query execution.
- QueryResult() - Constructor for class com.ladybugdb.QueryResult
- QuerySummary - Class in com.ladybugdb
-
QuerySummary stores the execution time, plan, compiling time and query options of a query.
- QuerySummary(double, double) - Constructor for class com.ladybugdb.QuerySummary
-
Construct a new query summary.
R
- RECURSIVE_REL - Enum constant in enum class com.ladybugdb.DataTypeID
- REL - Enum constant in enum class com.ladybugdb.DataTypeID
- resetIterator() - Method in class com.ladybugdb.QueryResult
-
Reset the query result iterator.
S
- SERIAL - Enum constant in enum class com.ladybugdb.DataTypeID
- setMaxNumThreadForExec(long) - Method in class com.ladybugdb.Connection
-
Sets the maximum number of threads to use for execution in the current connection.
- setNull(boolean) - Method in class com.ladybugdb.Value
-
Set the Value to null.
- setQueryTimeout(long) - Method in class com.ladybugdb.Connection
-
Sets the query timeout value of the current connection.
- STRING - Enum constant in enum class com.ladybugdb.DataTypeID
- STRUCT - Enum constant in enum class com.ladybugdb.DataTypeID
T
- tableId - Variable in class com.ladybugdb.InternalID
- TIMESTAMP - Enum constant in enum class com.ladybugdb.DataTypeID
- TIMESTAMP_MS - Enum constant in enum class com.ladybugdb.DataTypeID
- TIMESTAMP_NS - Enum constant in enum class com.ladybugdb.DataTypeID
- TIMESTAMP_SEC - Enum constant in enum class com.ladybugdb.DataTypeID
- TIMESTAMP_TZ - Enum constant in enum class com.ladybugdb.DataTypeID
- toArray() - Method in class com.ladybugdb.LbugList
-
Gets the elements the list as a Java array.
- toMap() - Method in class com.ladybugdb.LbugStruct
-
Gets the elements the struct as a Java map.
- toString() - Method in class com.ladybugdb.FlatTuple
-
Convert the flat tuple to string.
- toString() - Method in class com.ladybugdb.InternalID
-
Returns a string representation of this InternalID.
- toString() - Method in class com.ladybugdb.QueryResult
-
Convert the query result to string.
- toString() - Method in class com.ladybugdb.Value
-
Convert the Value to string.
- toString(Value) - Static method in class com.ladybugdb.ValueNodeUtil
-
Convert the node value to string.
- toString(Value) - Static method in class com.ladybugdb.ValueRelUtil
-
Convert the given rel value to string.
U
- UINT16 - Enum constant in enum class com.ladybugdb.DataTypeID
- UINT32 - Enum constant in enum class com.ladybugdb.DataTypeID
- UINT64 - Enum constant in enum class com.ladybugdb.DataTypeID
- UINT8 - Enum constant in enum class com.ladybugdb.DataTypeID
- UNION - Enum constant in enum class com.ladybugdb.DataTypeID
- UUID - Enum constant in enum class com.ladybugdb.DataTypeID
V
- v_ref - Variable in class com.ladybugdb.Value
- value - Variable in enum class com.ladybugdb.DataTypeID
- Value - Class in com.ladybugdb
-
Value can hold data of different types.
- Value(T) - Constructor for class com.ladybugdb.Value
-
Construct a Value from a val.
- ValueNodeUtil - Class in com.ladybugdb
-
Utility functions for Value of node type.
- ValueNodeUtil() - Constructor for class com.ladybugdb.ValueNodeUtil
- valueOf(String) - Static method in enum class com.ladybugdb.DataTypeID
-
Returns the enum constant of this class with the specified name.
- ValueRecursiveRelUtil - Class in com.ladybugdb
-
Utility functions for Value of recursive_rel type.
- ValueRecursiveRelUtil() - Constructor for class com.ladybugdb.ValueRecursiveRelUtil
- ValueRelUtil - Class in com.ladybugdb
-
Utility functions for Value of rel type.
- ValueRelUtil() - Constructor for class com.ladybugdb.ValueRelUtil
- values() - Static method in enum class com.ladybugdb.DataTypeID
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Version - Class in com.ladybugdb
-
Version is a class to get the version of the Lbug.
- Version() - Constructor for class com.ladybugdb.Version
All Classes and Interfaces|All Packages