public class StoreUtils extends Object
Constructor and Description |
---|
StoreUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsGraph(Store store,
Node graphNode) |
static boolean |
isDB2(Store store) |
static boolean |
isDerby(Store store) |
static boolean |
isFormatted(Store store)
Best effort utility to check whether store is formatted
(currently: tables and columns exist)
|
static boolean |
isH2(Store store) |
static boolean |
isHSQL(Store store) |
static boolean |
isMySQL(Store store) |
static boolean |
isOracle(Store store) |
static boolean |
isPostgreSQL(Store store) |
static boolean |
isSAP(Store store) |
static boolean |
isSQLServer(Store store) |
static void |
load(Store store,
String filename) |
static void |
load(Store store,
String graphIRI,
String filename) |
static Iterator<Node> |
storeGraphNames(Store store) |
public static boolean isHSQL(Store store)
public static boolean isH2(Store store)
public static boolean isDerby(Store store)
public static boolean isPostgreSQL(Store store)
public static boolean isMySQL(Store store)
public static boolean isSQLServer(Store store)
public static boolean isOracle(Store store)
public static boolean isDB2(Store store)
public static boolean isSAP(Store store)
public static boolean isFormatted(Store store) throws SQLException
store
- The store to checkSQLException
Licenced under the Apache License, Version 2.0