|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.client.SeColumnDefinition
public class SeColumnDefinition
This class represents the ArcSDE column definition. The columns of any ArcSDE table or layer are defined by instances of this class. This class also defines the available ArcSDE column data types.
Field Summary | |
---|---|
static int |
TYPE_BLOB
ArcSDE data type for variable length binary data. |
static int |
TYPE_CLOB
ArcSDE data type for Character Variable Length Data. |
static int |
TYPE_DATE
ArcSDE data type for dates. |
static int |
TYPE_DOUBLE
Deprecated. at ArcSDE v9.0, replaced by
|
static int |
TYPE_FLOAT
Deprecated. at ArcSDE v9.0, replaced by
|
static int |
TYPE_FLOAT32
ArcSDE data type for 4 byte floating point data. |
static int |
TYPE_FLOAT64
ArcSDE data type for 8 byte floating point data. |
static int |
TYPE_INT16
ArcSDE data type for 2 byte integer data. |
static int |
TYPE_INT32
ArcSDE data type for 4 byte integer data. |
static int |
TYPE_INT64
ArcSDE data type for 8 byte integer data. |
static int |
TYPE_INTEGER
Deprecated. at ArcSDE v9.0, replaced by
|
static int |
TYPE_NCLOB
ArcSDE data type for UNICODE Character Large Object. |
static int |
TYPE_NSTRING
ArcSDE data type for UNICODE Null termindated character array. |
static int |
TYPE_RASTER
ArcSDE data type for raster data. |
static int |
TYPE_SHAPE
ArcSDE data type for geometric features. |
static int |
TYPE_SMALLINT
Deprecated. at ArcSDE v9.0, replaced by
|
static int |
TYPE_STRING
ArcSDE data type for character data. |
static int |
TYPE_UUID
ArcSDE data type for Universal Unique ID. |
static int |
TYPE_XML
ArcSDE data type for XML data. |
Constructor Summary | |
---|---|
SeColumnDefinition()
Defines a blank column definition. |
|
SeColumnDefinition(java.lang.String name,
int type,
int size,
int scale,
boolean isNullable)
Defines a column of a table. |
Method Summary | |
---|---|
boolean |
allowsNulls()
This method returns true
if the column allows null values and false if it does not. |
java.lang.Object |
clone()
Returns a new instance of this SeColumnDefinition. |
java.lang.String |
getName()
Returns the name of the column as a String . |
short |
getRowIdType()
Returns the registration row id column type. |
short |
getScale()
Returns the scale of the column. |
int |
getSize()
Returns the size of the column. |
int |
getType()
Returns the SDE column type. |
java.lang.String |
toString()
Returns the ColumnDefinition as a String . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_SMALLINT
TYPE_INT16
public static final int TYPE_INTEGER
TYPE_INT32
public static final int TYPE_FLOAT
TYPE_FLOAT32
public static final int TYPE_DOUBLE
TYPE_FLOAT64
public static final int TYPE_INT16
public static final int TYPE_INT32
public static final int TYPE_FLOAT32
public static final int TYPE_FLOAT64
public static final int TYPE_STRING
public static final int TYPE_BLOB
public static final int TYPE_DATE
public static final int TYPE_SHAPE
public static final int TYPE_RASTER
public static final int TYPE_XML
public static final int TYPE_INT64
public static final int TYPE_UUID
public static final int TYPE_CLOB
public static final int TYPE_NSTRING
public static final int TYPE_NCLOB
Constructor Detail |
---|
public SeColumnDefinition()
public SeColumnDefinition(java.lang.String name, int type, int size, int scale, boolean isNullable) throws SeException
name
- The column name.type
- The SDE data type.size
- The size of the column values.scale
- Number of digits after decimal.isNullable
- Allow Null values.
SeException
Method Detail |
---|
public boolean allowsNulls()
true
if the column allows null values and false
if it does not.
public int getType()
The possible types are:
TYPE_INT16
TYPE_INT32
TYPE_INT64
TYPE_FLOAT32
TYPE_FLOAT64
TYPE_STRING
TYPE_BLOB
TYPE_DATE
TYPE_SHAPE
TYPE_RASTER
TYPE_XML
public short getRowIdType()
The possible types are:
SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_SDE
SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_USER
SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_NONE
public java.lang.String getName()
String
.
public int getSize()
public short getScale()
public java.lang.String toString()
String
.
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |