|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.client.SeRasterColumn
public class SeRasterColumn
An SeRasterColumn object represents a column, in an ArcSDE table or
layer, that contains raster values. Invoking the SeRasterColumn
method, on any existing ArcSDE table or layer, designates a column in
the corresponding RDBMS table as the ArcSDE raster column for that table.
create()
Creating a new raster column adds data and meta-data tables, required to store the raster data, to the database user's table schema.
SeRaster
Field Summary | |
---|---|
static byte |
SE_GDBTYPE_NONE
Tag for Geo database type NONE |
static byte |
SE_GDBTYPE_RASTERMAP
Tag for Geo database type rastermap |
Constructor Summary | |
---|---|
SeRasterColumn(SeConnection conn)
Constructor to create an SeRasterColumn object associated with a specified server connection; used to add a new raster column to an existing ArcSDE Table or Layer. |
|
SeRasterColumn(SeConnection conn,
SeObjectId rasColId)
Constructor to create an SeRasterColumn object associated with a specific server connection and a specific raster column id; used to retrieve information about an existing raster column. |
|
SeRasterColumn(SeConnection conn,
java.lang.String table,
java.lang.String rasCol)
Constructor to create an SeRasterColumn object associated with a specific server connection, table name and raster column name; used to retrieve information about an existing raster column. |
Method Summary | |
---|---|
void |
alter()
Alters those characteristics of a raster column that can be modified after it has been created. |
java.lang.Object |
clone()
Clones the SeRasterColumn object. |
void |
create()
Adds a raster column to an ArcSDE Table or Layer. |
void |
delete()
Deletes the raster column from the associated RDBMS table. |
int |
getAccess()
Returns the bitmask of the privileges that the current user has on this raster column. |
java.lang.String |
getConfigurationKeyword()
Returns the configuration keyword used when creating this raster column. |
SeCoordinateReference |
getCoordRef()
Returns this raster column's coordinate reference. |
java.util.Date |
getCreationDate()
Returns the date and time that this raster column was created. |
java.lang.String |
getDescription()
Returns the raster column's description string. |
byte |
getGdbType()
Returns the GeoDataBase (GDB) type associated with this raster column. |
SeObjectId |
getID()
Returns this raster column's id value. |
void |
getInfo()
Refreshes this SeRasterColumn object. |
SeObjectId |
getMinID()
Returns the minimum raster id value in this raster column. |
java.lang.String |
getName()
Returns the name of this raster column |
java.lang.String |
getQualifiedTableName()
Returns the qualified name of the ArcSDE table that contains this raster column |
java.lang.String |
getTableName()
Returns the name of the ArcSDE table associated with this raster column. |
void |
grantAccess(int privilege,
boolean grant,
java.lang.String user)
Grants the privileges specified, on this raster column, to another RDBMS user. |
boolean |
hasGdbType()
Returns true if the raster column is registered as a geodatabase raster dataset, false otherwise. |
boolean |
isLoadOnly()
Deprecated. at ArcSDE v9.0. |
void |
migrateStorage(java.lang.String config_keyword)
Migrate storage type for raster block and auxiliary from LONG RAW to BLOB(Oracle only). |
void |
revokeAccess(int privilege,
java.lang.String user)
Revokes the privileges specified, on this raster column, from another RDBMS user. |
void |
setConfigurationKeyword(java.lang.String configKeyword)
Sets the configuration keyword for this raster column. |
void |
setCoordRef(SeCoordinateReference coordref)
Sets the coordinate reference for this raster column. |
void |
setDescription(java.lang.String description)
Sets the raster column's description. |
void |
setGdbType(byte gdbType)
Sets the GeoDataBase (GDB) type for this raster column. |
void |
setMinID(SeObjectId minID)
Sets minimum id number that a raster value in this raster column can start with. |
void |
setRasterColumnName(java.lang.String rasterColName)
Sets the name of this raster column. |
void |
setTableName(java.lang.String tableName)
Sets the name of the table name that contains this raster column. |
java.lang.String |
toString()
toString () method for SeRasterColumn object. |
void |
truncate()
Deletes all the raster data in the raster column of an ArcSDE table or layer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte SE_GDBTYPE_NONE
public static final byte SE_GDBTYPE_RASTERMAP
Constructor Detail |
---|
public SeRasterColumn(SeConnection conn) throws SeException
conn
- an open SeConnection
instance
SeException
- if an error occurspublic SeRasterColumn(SeConnection conn, SeObjectId rasColId) throws SeDoesNotExistException, SeException
conn
- an open SeConnection
instancerasColId
- the raster column's id value
SeException,SeDoesNotExistException
- if an error occurs
SeDoesNotExistException
SeException
public SeRasterColumn(SeConnection conn, java.lang.String table, java.lang.String rasCol) throws SeDoesNotExistException, SeException
conn
- an open SeConnection
instancetable
- the name of the table with a raster columnrasCol
- the name of the raster column
SeException
- if an error occurs
SeDoesNotExistException
setTableName(String)
,
setRasterColumnName(String)
Method Detail |
---|
public void alter() throws SeException
You can change the following characteristics:
SeException
- if an error occurspublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
SeRasterColumn
object.
clone
in class java.lang.Object
SeRasterColumn
as type Object
java.lang.CloneNotSupportedException
- if an error occurspublic void create() throws SeException
SeException
- if an error occurssetTableName(String)
,
setRasterColumnName(String)
public void delete() throws SeException
SeException
- if an error occurspublic void getInfo() throws SeException
SeRasterColumn(SeConnection, String, String)
SeException
- if an error occurspublic void grantAccess(int privilege, boolean grant, java.lang.String user) throws SeException
The user invoking this method must have the privilege to grant or revoke privileges on this raster column.
If grant is TRUE, then the user in turn can grant or revoke privileges on this raster column, to another user.
Grant multiple privileges to a user with the OR operator and the appropriate privilege masks.
The access privileges that can be granted are:
SeDefs.SE_DELETE_PRIVILEGE
SeDefs.SE_INSERT_PRIVILEGE
SeDefs.SE_SELECT_PRIVILEGE
SeDefs.SE_UPDATE_PRIVILEGE
privilege
- bit mask of the privileges to grant to the usergrant
- specify, true or false, if the user specified can
himself grant or revoke privileges on this raster columnuser
- the name of an RDBMS user
SeException
- if an error occursgetAccess()
,
revokeAccess(int, String)
,
SeDefs
public void revokeAccess(int privilege, java.lang.String user) throws SeException
The user invoking this method must have the privilege to grant or revoke privileges on this raster column.
If grant is TRUE, then the user in turn can grant or revoke privileges on this raster column, to another user.
Revoke multiple privileges to a user with the OR operator and the appropriate privilege masks.
The access privileges that can be revoked are:
SeDefs.SE_DELETE_PRIVILEGE
SeDefs.SE_INSERT_PRIVILEGE
SeDefs.SE_SELECT_PRIVILEGE
SeDefs.SE_UPDATE_PRIVILEGE
privilege
- an int
value. Privilege to revoke..user
- a String
value.
DBMS user name to whom privilges need to be granted.
SeException
- if an error occursgetAccess()
,
grantAccess(int, boolean, String)
,
SeDefs
public void truncate() throws SeException
SeException
- if an error occurspublic int getAccess()
Possible value are:
SeDefs.SE_DELETE_PRIVILEGE
SeDefs.SE_INSERT_PRIVILEGE
SeDefs.SE_SELECT_PRIVILEGE
SeDefs.SE_UPDATE_PRIVILEGE
grantAccess(int, boolean, String)
,
revokeAccess(int, String)
,
SeDefs
public SeCoordinateReference getCoordRef()
setCoordRef(SeCoordinateReference)
public java.util.Date getCreationDate()
public java.lang.String getConfigurationKeyword()
setConfigurationKeyword(String)
public java.lang.String getDescription()
setDescription(String)
public byte getGdbType()
SE_GDBTYPE_NONE
or
SE_GDBTYPE_RASTERMAP
.
hasGdbType()
,
setGdbType(byte)
public SeObjectId getID()
public SeObjectId getMinID()
setMinID(SeObjectId)
public java.lang.String getQualifiedTableName() throws SeException
SeException
getTableName()
,
setTableName(String)
public java.lang.String getName()
setRasterColumnName(String)
public java.lang.String getTableName()
getQualifiedTableName()
,
setTableName(String)
public boolean hasGdbType()
getGdbType()
,
setGdbType(byte)
public boolean isLoadOnly()
true
if the raster column is in load only mode,
false if mode is normal I/O.
setLoadMode(boolean)
public void setCoordRef(SeCoordinateReference coordref) throws SeException
coordref
- a valid coordinate reference.
SeException
- if an error occursgetCoordRef()
public void setConfigurationKeyword(java.lang.String configKeyword)
configKeyword
- valid configuration keywordgetConfigurationKeyword()
public void setDescription(java.lang.String description)
description
- a String
description.getDescription()
public void setGdbType(byte gdbType) throws SeException
SE_GDBTYPE_NONE
or
SE_GDBTYPE_RASTERMAP
.
gdbType
- the geodatabase type
SeException
- if an error occursgetGdbType()
,
setGdbType(byte)
public void setMinID(SeObjectId minID) throws SeException
minID
- the minimum id value a raster value can start with
SeException
- if an error occursgetMinID()
public void setRasterColumnName(java.lang.String rasterColName) throws SeException
rasterColName
- a String
name for the raster column
SeException
- if an error occursgetName()
public void setTableName(java.lang.String tableName) throws SeException
tableName
- the name of the ArcSDE table
SeException
- if an error occursgetTableName()
,
getQualifiedTableName()
public void migrateStorage(java.lang.String config_keyword) throws SeException
Notes
- It is strongly recommended to create a backup of data before geometry storage type migration. For example, this could be in the form of an sdeexport file.
- Storage migration must be done by the user who owns the table.
config_keyword
- The DBTUNE configuration keyword containing a
RASTER_STORAGE parameter set to BLOB
SeException
- if an error occurspublic java.lang.String toString()
toString
in class java.lang.Object
String
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |