public class OracleJdbcIndexUtils extends Object
| Constructor and Description |
|---|
OracleJdbcIndexUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeResultSet(ResultSet rs) |
static void |
closeStatement(Statement stmt) |
static void |
createFile(Connection conn,
String tableName,
String fileName,
InputStream blobValue,
long blobSize,
boolean deleted) |
static void |
createIndexFile(Connection conn,
String tableName,
OracleIndexFile file) |
static void |
createIndexFiles(Connection conn,
String tableName,
OracleIndexFile[] files) |
static void |
createIndexTable(Connection conn,
String tableName) |
static void |
deleteAll(Connection conn,
String tableName,
String fileName) |
static void |
deleteFile(Connection conn,
String tableName,
String fileName) |
static void |
deleteIndexFiles(Connection conn,
String tableName,
List<String> files) |
static void |
dropIndexTable(Connection conn,
String tableName) |
static boolean |
fileExists(Connection conn,
String tableName,
String fileName) |
static String |
getBlobQuery(String tableName) |
static long |
getFileLength(Connection conn,
String tableName,
String name) |
static String[] |
getMultiIndexTables(Connection conn,
String tableName) |
static long |
getTimestamp(Connection conn) |
static String[] |
listAllFiles(Connection conn,
String tableName,
boolean deleted) |
public static void closeResultSet(ResultSet rs)
public static void closeStatement(Statement stmt)
public static void createFile(Connection conn, String tableName, String fileName, InputStream blobValue, long blobSize, boolean deleted) throws SQLException
SQLExceptionpublic static void createIndexFile(Connection conn, String tableName, OracleIndexFile file) throws SQLException
SQLExceptionpublic static void createIndexFiles(Connection conn, String tableName, OracleIndexFile[] files) throws SQLException
SQLExceptionpublic static void createIndexTable(Connection conn, String tableName) throws SQLException
SQLExceptionpublic static void deleteAll(Connection conn, String tableName, String fileName) throws SQLException
SQLExceptionpublic static void deleteFile(Connection conn, String tableName, String fileName) throws SQLException
SQLExceptionpublic static void deleteIndexFiles(Connection conn, String tableName, List<String> files) throws SQLException
SQLExceptionpublic static void dropIndexTable(Connection conn, String tableName) throws SQLException
SQLExceptionpublic static boolean fileExists(Connection conn, String tableName, String fileName) throws SQLException, OracleIndexException
SQLExceptionOracleIndexExceptionpublic static long getFileLength(Connection conn, String tableName, String name) throws SQLException, OracleIndexException
SQLExceptionOracleIndexExceptionpublic static String[] getMultiIndexTables(Connection conn, String tableName) throws SQLException, OracleIndexException
SQLExceptionOracleIndexExceptionpublic static long getTimestamp(Connection conn) throws OracleIndexException, SQLException
OracleIndexExceptionSQLExceptionpublic static String[] listAllFiles(Connection conn, String tableName, boolean deleted) throws SQLException, OracleIndexException
SQLExceptionOracleIndexExceptionCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.