com.esri.arcgis.geodatabase
Interface ISqlWorkspace

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ISqlWorkspaceProxy, SqlWorkspace

public interface ISqlWorkspace
extends java.io.Serializable

COM Interface 'ISqlWorkspace'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Query layer workspace interface' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDeed692f3_04e5_42d8_a232_4aad0085e471
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void checkDatasetName(java.lang.String name, IQueryDescription pQueryDescription, java.lang.String[] pNewName)
          Returns unique name in the workspace.
 void getColumns(java.lang.String tableName, IStringArray[] ppColumnName, IStringArray[] ppColumnType, IVariantArray[] ppIsNullable, ILongArray[] ppSize, ILongArray[] ppPrecision, ILongArray[] ppScale)
          Returns column information for a table.
 IQueryDescription getQueryDescription(java.lang.String query)
          Get query properties including spatial based on the first record of the query.
 IStringArray getTables()
          Returns names of all the table.
 ITable openQueryClass(java.lang.String name, IQueryDescription pQueryDescription)
          Returns a table or a feature class based on a query.
 ICursor openQueryCursor(java.lang.String query)
          Returns a cursor based on a query.
 

Field Detail

IIDeed692f3_04e5_42d8_a232_4aad0085e471

static final int IIDeed692f3_04e5_42d8_a232_4aad0085e471
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getQueryDescription

IQueryDescription getQueryDescription(java.lang.String query)
                                      throws java.io.IOException,
                                             AutomationException
Get query properties including spatial based on the first record of the query.

Parameters:
query - The query (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IQueryDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openQueryClass

ITable openQueryClass(java.lang.String name,
                      IQueryDescription pQueryDescription)
                      throws java.io.IOException,
                             AutomationException
Returns a table or a feature class based on a query.

Parameters:
name - The name (in)
pQueryDescription - A reference to a com.esri.arcgis.geodatabase.IQueryDescription (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openQueryCursor

ICursor openQueryCursor(java.lang.String query)
                        throws java.io.IOException,
                               AutomationException
Returns a cursor based on a query.

Parameters:
query - The query (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTables

IStringArray getTables()
                       throws java.io.IOException,
                              AutomationException
Returns names of all the table.

Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColumns

void getColumns(java.lang.String tableName,
                IStringArray[] ppColumnName,
                IStringArray[] ppColumnType,
                IVariantArray[] ppIsNullable,
                ILongArray[] ppSize,
                ILongArray[] ppPrecision,
                ILongArray[] ppScale)
                throws java.io.IOException,
                       AutomationException
Returns column information for a table.

Parameters:
tableName - The tableName (in)
ppColumnName - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
ppColumnType - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
ppIsNullable - A reference to a com.esri.arcgis.system.IVariantArray (out: use single element array)
ppSize - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
ppPrecision - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
ppScale - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkDatasetName

void checkDatasetName(java.lang.String name,
                      IQueryDescription pQueryDescription,
                      java.lang.String[] pNewName)
                      throws java.io.IOException,
                             AutomationException
Returns unique name in the workspace.

Parameters:
name - The name (in)
pQueryDescription - A reference to a com.esri.arcgis.geodatabase.IQueryDescription (in)
pNewName - The pNewName (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.