com.esri.arcgis.carto
Interface ITilesTable

All Superinterfaces:
Serializable
All Known Implementing Classes:
TilesTable

public interface ITilesTable
extends Serializable

Wrapper object to encapsulate a cache tiles containenr table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void close()
          Close the table.
 void create(String levelCacheDir, String format, int txStart, int txEnd, int tyStart, int tyEnd)
          Create the table.
 void delete(String levelCacheDir, String format, int ty, int tx)
          Delete the table.
 boolean exists(String layerCacheDir, int ty, int tx)
          Table Exists
 int getOffset(int ty, int tx)
          Get the row in the table corresponding to the given tileX and tileY
 int getTileCount()
          Get Tile Count
 int insertTile(int ty, int tx, IStream pStream)
          Insert the tile into the table.
 boolean isLocked()
          Is table locked
 void open(String levelCacheDir, int ty, int tx, boolean forReadOnly)
          Open the table.
 IStream queryTile(int ty, int tx)
          Query specific tile from the table.
 void updateTile(int ty, int tx, IStream pStream)
          Update Tile.
 

Method Detail

create

void create(String levelCacheDir,
            String format,
            int txStart,
            int txEnd,
            int tyStart,
            int tyEnd)
            throws IOException,
                   AutomationException
Create the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
levelCacheDir - The levelCacheDir (in)
format - The format (in)
txStart - The txStart (in)
txEnd - The txEnd (in)
tyStart - The tyStart (in)
tyEnd - The tyEnd (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

void delete(String levelCacheDir,
            String format,
            int ty,
            int tx)
            throws IOException,
                   AutomationException
Delete the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
levelCacheDir - The levelCacheDir (in)
format - The format (in)
ty - The ty (in)
tx - The tx (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

open

void open(String levelCacheDir,
          int ty,
          int tx,
          boolean forReadOnly)
          throws IOException,
                 AutomationException
Open the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
levelCacheDir - The levelCacheDir (in)
ty - The ty (in)
tx - The tx (in)
forReadOnly - The forReadOnly (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

close

void close()
           throws IOException,
                  AutomationException
Close the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOffset

int getOffset(int ty,
              int tx)
              throws IOException,
                     AutomationException
Get the row in the table corresponding to the given tileX and tileY

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
ty - The ty (in)
tx - The tx (in)
Returns:
The pOffset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertTile

int insertTile(int ty,
               int tx,
               IStream pStream)
               throws IOException,
                      AutomationException
Insert the tile into the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
ty - The ty (in)
tx - The tx (in)
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Returns:
The pOffset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTile

IStream queryTile(int ty,
                  int tx)
                  throws IOException,
                         AutomationException
Query specific tile from the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
ty - The ty (in)
tx - The tx (in)
Returns:
A reference to a com.esri.arcgis.system.IStream
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateTile

void updateTile(int ty,
                int tx,
                IStream pStream)
                throws IOException,
                       AutomationException
Update Tile.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
ty - The ty (in)
tx - The tx (in)
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLocked

boolean isLocked()
                 throws IOException,
                        AutomationException
Is table locked

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The isLocked
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileCount

int getTileCount()
                 throws IOException,
                        AutomationException
Get Tile Count

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pTileCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exists

boolean exists(String layerCacheDir,
               int ty,
               int tx)
               throws IOException,
                      AutomationException
Table Exists

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
layerCacheDir - The layerCacheDir (in)
ty - The ty (in)
tx - The tx (in)
Returns:
The pExists
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.