public class DBUtil
extends java.lang.Object
| Constructor and Description |
|---|
DBUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeDataStore() |
static ContentStore |
createDataStore(java.lang.String type,
java.lang.String name) |
static java.util.Map<java.lang.String,java.lang.Object> |
documentToModel(com.orientechnologies.orient.core.record.impl.ODocument doc) |
static java.lang.String[] |
toStringArray(java.lang.Object entry)
Converts a DB list into a String array
|
static void |
updateSchema(ContentStore db) |
public static ContentStore createDataStore(java.lang.String type, java.lang.String name)
public static void closeDataStore()
public static void updateSchema(ContentStore db)
public static java.util.Map<java.lang.String,java.lang.Object> documentToModel(com.orientechnologies.orient.core.record.impl.ODocument doc)
public static java.lang.String[] toStringArray(java.lang.Object entry)
entry - Entry input to be converted