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
SQLException
public static void createIndexFile(Connection conn, String tableName, OracleIndexFile file) throws SQLException
SQLException
public static void createIndexFiles(Connection conn, String tableName, OracleIndexFile[] files) throws SQLException
SQLException
public static void createIndexTable(Connection conn, String tableName) throws SQLException
SQLException
public static void deleteAll(Connection conn, String tableName, String fileName) throws SQLException
SQLException
public static void deleteFile(Connection conn, String tableName, String fileName) throws SQLException
SQLException
public static void deleteIndexFiles(Connection conn, String tableName, List<String> files) throws SQLException
SQLException
public static void dropIndexTable(Connection conn, String tableName) throws SQLException
SQLException
public static boolean fileExists(Connection conn, String tableName, String fileName) throws SQLException, OracleIndexException
SQLException
OracleIndexException
public static long getFileLength(Connection conn, String tableName, String name) throws SQLException, OracleIndexException
SQLException
OracleIndexException
public static String[] getMultiIndexTables(Connection conn, String tableName) throws SQLException, OracleIndexException
SQLException
OracleIndexException
public static long getTimestamp(Connection conn) throws OracleIndexException, SQLException
OracleIndexException
SQLException
public static String[] listAllFiles(Connection conn, String tableName, boolean deleted) throws SQLException, OracleIndexException
SQLException
OracleIndexException
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.