public class OracleQueries extends StandardQueries
connectionContext
Constructor and Description |
---|
OracleQueries(ConnectionContext connectionContext) |
Modifier and Type | Method and Description |
---|---|
ColumnMetaDataCollection |
getMetaData(String objectName) |
List<String> |
getPrimaryKeys(String ownerName,
String tableName) |
List<String> |
getSqlObjects(String objectType) |
boolean |
isColumnExists(String tableName,
String columnName) |
boolean |
isDbOptionExists(String optionName) |
boolean |
isPrivilegeExists(String granteeName,
String privilegeName,
String objectName) |
boolean |
isSqlObjectExists(String objectName,
String objectType,
boolean ignoreValidity) |
boolean |
isTableExists(String tableName) |
boolean |
isUserExists(String userName) |
void |
truncateTable(String tableName) |
getQueryImplementation, query, queryInt, registerQueryImplementation, utilsSplitDottedObjectNames
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getCount, query, queryString
public OracleQueries(ConnectionContext connectionContext)
public boolean isSqlObjectExists(String objectName, String objectType, boolean ignoreValidity) throws MintleafException
MintleafException
public boolean isColumnExists(String tableName, String columnName) throws MintleafException
MintleafException
public boolean isTableExists(String tableName) throws MintleafException
MintleafException
public boolean isDbOptionExists(String optionName) throws MintleafException
MintleafException
public void truncateTable(String tableName) throws MintleafException
MintleafException
public boolean isUserExists(String userName) throws MintleafException
MintleafException
public List<String> getSqlObjects(String objectType) throws MintleafException
MintleafException
public List<String> getPrimaryKeys(String ownerName, String tableName) throws MintleafException
MintleafException
public boolean isPrivilegeExists(String granteeName, String privilegeName, String objectName) throws MintleafException
MintleafException
public ColumnMetaDataCollection getMetaData(String objectName) throws MintleafException
MintleafException
Copyright © 2017. All rights reserved.