Package org.jbake.app
Class DBUtil
- java.lang.Object
-
- org.jbake.app.DBUtil
-
public class DBUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DBUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidcloseDataStore()static ContentStorecreateDataStore(java.lang.String type, java.lang.String name)Deprecated.static ContentStorecreateDataStore(JBakeConfiguration configuration)static DocumentModeldocumentToModel(com.orientechnologies.orient.core.sql.executor.OResult doc)static java.lang.String[]toStringArray(java.lang.Object entry)Converts a DB list into a String arraystatic voidupdateSchema(ContentStore db)Deprecated.
-
-
-
Method Detail
-
createDataStore
@Deprecated public static ContentStore createDataStore(java.lang.String type, java.lang.String name)
Deprecated.
-
updateSchema
@Deprecated public static void updateSchema(ContentStore db)
Deprecated.
-
createDataStore
public static ContentStore createDataStore(JBakeConfiguration configuration)
-
closeDataStore
public static void closeDataStore()
-
documentToModel
public static DocumentModel documentToModel(com.orientechnologies.orient.core.sql.executor.OResult doc)
-
toStringArray
public static java.lang.String[] toStringArray(java.lang.Object entry)
Converts a DB list into a String array- Parameters:
entry- Entry input to be converted- Returns:
- input entry as String[]
-
-