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