public class SQLCheck extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ISQLCheck, ISQLCheck2, ISQLCheck3
Description 'Esri SQL check object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID635fb839_c678_4385_8324_7dcc971378a4, xxDummy
IIDc93dcd8a_55d5_4fb3_97fa_e4ef2877e8ca
IID78482309_3abf_4556_925e_9a5f79cd6ed8
Constructor and Description |
---|
SQLCheck()
Constructs a SQLCheck using ArcGIS Engine.
|
SQLCheck(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
SQLCheck theSQLCheck = (SQLCheck) obj; |
Modifier and Type | Method and Description |
---|---|
void |
checkSelectList(java.lang.String selctList)
Checks select list for invalid characters.
|
void |
checkSelectStatement(java.lang.String selectStatement)
Checks select statement for invalid characters.
|
void |
checkWhereClause(java.lang.String whereClause)
Checks where clause for invalid characters.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
validateQueryFilter(IWorkspace workspace,
ITable table,
IQueryFilter queryFilter,
boolean enforceSQL92Validation)
Validates a Query Filter.
|
java.lang.String |
validateSQL(IWorkspace workspace,
ITable table,
java.lang.String sourceSQL,
int clauseType,
IStringArray[] columnReferences)
Validates a SQL clause.
|
public SQLCheck() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic SQLCheck(java.lang.Object obj) throws java.io.IOException
SQLCheck theSQLCheck = (SQLCheck) obj;
obj
to SQLCheck
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void checkSelectList(java.lang.String selctList) throws java.io.IOException, AutomationException
checkSelectList
in interface ISQLCheck
selctList
- The selctList (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void checkWhereClause(java.lang.String whereClause) throws java.io.IOException, AutomationException
checkWhereClause
in interface ISQLCheck
whereClause
- The whereClause (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void checkSelectStatement(java.lang.String selectStatement) throws java.io.IOException, AutomationException
checkSelectStatement
in interface ISQLCheck2
selectStatement
- The selectStatement (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String validateSQL(IWorkspace workspace, ITable table, java.lang.String sourceSQL, int clauseType, IStringArray[] columnReferences) throws java.io.IOException, AutomationException
validateSQL
in interface ISQLCheck3
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)table
- A reference to a com.esri.arcgis.geodatabase.ITable (in)sourceSQL
- The sourceSQL (in)clauseType
- A com.esri.arcgis.geodatabase.esriSQLClauses constant (in)columnReferences
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void validateQueryFilter(IWorkspace workspace, ITable table, IQueryFilter queryFilter, boolean enforceSQL92Validation) throws java.io.IOException, AutomationException
validateQueryFilter
in interface ISQLCheck3
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)table
- A reference to a com.esri.arcgis.geodatabase.ITable (in)queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)enforceSQL92Validation
- The enforceSQL92Validation (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.