|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.sde.sdk.client.SeRow
public class SeRow
Represents a row of a result set from a fetch operation or a row
of data to be inserted or updated.
To obtain a row for insert or update, use the
SeInsert.getRowToSet() or SeUpdate.getRowToSet() methods.
SeInsert,
SeUpdate| Field Summary | |
|---|---|
static int |
BLOB_SEG_SIZE
|
static int |
SE_IS_ALREADY_FETCHED
|
static int |
SE_IS_NOT_NULL_VALUE
|
static int |
SE_IS_NULL_VALUE
|
static int |
SE_IS_REPEATED_FEATURE
|
| Method Summary | |
|---|---|
java.io.ByteArrayInputStream |
getBlob(int columnPos)
Gets a blob column from the row. |
java.io.ByteArrayInputStream |
getClob(int columnPos)
Gets a blob column from the row. |
SeColumnDefinition |
getColumnDef(int pos)
Returns a column's definition, given the column's position. |
SeColumnDefinition[] |
getColumns()
Returns the column definitions describing the columns on the row. |
java.util.Date |
getDate(int columnPos)
Deprecated. at ArcSDE 8.3, replaced by . |
java.lang.Double |
getDouble(int columnPos)
Returns the column value at the given position as a Double. |
java.lang.Float |
getFloat(int columnPos)
Returns the column value at the given position as a Float. |
java.lang.Object |
getGeometry(GeometryFactory factory,
int columnPos)
Returns the column value as a GeometryFactory object. |
int |
getIndicator(int pos)
Returns an indicator value, given the column position. |
java.lang.Integer |
getInteger(int columnPos)
Returns the column value at the given position as an Integer. |
java.lang.Long |
getLong(int columnPos)
Returns the column value at the given position as a Long. |
java.io.ByteArrayInputStream |
getNClob(int columnPos)
Gets an nclob column from the row. |
java.lang.String |
getNString(int columnPos)
Returns the column value at the given position as an NString. |
short |
getNumColumns()
Returns the number of columns in the row as a short. |
java.lang.Object |
getObject(int columnPos)
Returns the column value at the given position as an Object. |
SeRasterAttr |
getRaster(int columnPos)
Gets a raster column from the current row. |
SeRasterAttr |
getRaster(int columnPos,
boolean importMode)
Gets a raster column from the current row. |
SeRasterTile |
getRasterTile()
Gets a raster tile from the current row. |
SeShape |
getShape(int columnPos)
Returns the column value at the given position as an SeShape. |
java.lang.Short |
getShort(int columnPos)
Returns the column value at the given position as a Short. |
int[] |
getSpatialMasks()
Returns the spatial filter masks for the current row. |
java.lang.String |
getString(int columnPos)
Returns the column value at the given position as a String. |
java.util.Calendar |
getTime(int columnPos)
Returns the column value at the given position as a java.lang.Calendar
object. |
java.lang.String |
getUuid(int columnPos)
Gets the UUID column value from the current row. |
SeXmlDoc |
getXml(int columnPos)
Gets an XML column from the current row. |
boolean |
hasColumns()
Returns true if the row has column definitions set. |
void |
reset()
Empties the row by clearing the column values. |
void |
setBlob(int columnPos,
java.io.ByteArrayInputStream blobVal)
Sets the value of a BLOB column, which is to be used to insert/update a row in a table/layer. |
void |
setClob(int columnPos,
java.io.ByteArrayInputStream clobVal)
Sets the value of a CLOB column, which is to be used to insert/update a row in a table/layer. |
void |
setColumnDefs(SeColumnDefinition[] cdefs)
Sets the column definitions on the row, given an array of SeColumnDefinition objects. |
void |
setColumnDefs(java.util.Vector cdefs)
Sets the column definitions on the row, given a Vector of SeColumnDefinition objects. |
void |
setDate(int columnPos,
java.util.Date dtVal)
Deprecated. at ArcSDE 8.3, replaced by . |
void |
setDouble(int columnPos,
java.lang.Double dblVal)
Sets the value of a double column, which is to be used to insert/update a row in a table/layer. |
void |
setFloat(int columnPos,
java.lang.Float fltVal)
Sets the value of a float column, which is to be used to insert/update a row in a table/layer. |
void |
setInteger(int columnPos,
java.lang.Integer intVal)
Sets the value of an integer column, which is to be used to insert/update a row in a table/layer. |
void |
setLong(int columnPos,
java.lang.Long longVal)
Sets the value of a long column, which is to be used to insert/update a row in a table/layer. |
void |
setNClob(int columnPos,
java.io.ByteArrayInputStream nclobVal)
Sets the value of a NCLOB column, which is to be used to insert/update a row in a table/layer. |
void |
setNString(int columnPos,
java.lang.String strVal)
Sets the value of an NString column, which is to be used to insert/update a row in a table/layer. |
void |
setRaster(int columnPos,
SeRasterAttr rasAttrVal)
Sets the raster attribute value. |
void |
setRaster(int columnPos,
SeRasterAttr rasAttrVal,
boolean importMode)
Sets the raster attribute value. |
void |
setShape(int columnPos,
SeShape shpVal)
Sets the value of an SeShape column, which is to be used to insert/update a row in a table/layer. |
void |
setShort(int columnPos,
java.lang.Short shortVal)
Sets the value of a small integer column, which is to be used to insert/update a row in a table/layer. |
void |
setString(int columnPos,
java.lang.String strVal)
Sets the value of a String column, which is to be used to insert/update a row in a table/layer. |
void |
setTime(int columnPos,
java.util.Calendar calendar)
Sets the value of an Date column, which is to be used to insert/update a row in a table/layer. |
void |
setUuid(int columnPos,
java.lang.String uuidVal)
Sets the value for a UUID column. |
void |
setXml(int columnPos,
SeXmlDoc xmlVal)
Sets the value of an XML column. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SE_IS_REPEATED_FEATURE
public static final int SE_IS_ALREADY_FETCHED
public static final int SE_IS_NULL_VALUE
public static final int SE_IS_NOT_NULL_VALUE
public static final int BLOB_SEG_SIZE
| Method Detail |
|---|
public short getNumColumns()
short.
public SeColumnDefinition[] getColumns()
public SeColumnDefinition getColumnDef(int pos)
throws SeException
pos - position of the column (0-n)
SeException
public void setColumnDefs(SeColumnDefinition[] cdefs)
throws SeException
SeException
public void setColumnDefs(java.util.Vector cdefs)
throws SeException
SeExceptionpublic boolean hasColumns()
public int getIndicator(int pos)
pos - position of the column (0-n)
public java.lang.Short getShort(int columnPos)
Short.
columnPos - position of the column (0-n)
public void setShort(int columnPos,
java.lang.Short shortVal)
throws SeException
columnPos - position of the column (0-n)shortVal - the value to set at columnPos.
SeExceptionpublic java.lang.Integer getInteger(int columnPos)
Integer.
columnPos - position of the column (0-n)
public java.lang.Long getLong(int columnPos)
Long.
columnPos - position of the column (0-n)
public void setInteger(int columnPos,
java.lang.Integer intVal)
throws SeException
columnPos - position of the column (0-n)intVal - the value to set at columnPos.
SeException
public void setLong(int columnPos,
java.lang.Long longVal)
throws SeException
columnPos - position of the column (0-n)longVal - the value to set at columnPos.
SeExceptionpublic java.lang.Float getFloat(int columnPos)
Float.
columnPos - position of the column (0-n)
public void setFloat(int columnPos,
java.lang.Float fltVal)
throws SeException
columnPos - position of the column (0-n)fltVal - the value to set at columnPos.
SeExceptionpublic java.util.Date getDate(int columnPos)
getTime(int).
java.lang.Date.
columnPos - position of the column (0-n)
public java.util.Calendar getTime(int columnPos)
java.lang.Calendar
object.
columnPos - position of the column.
java.util.Calendar object containing the date value at columnPos.
public void setDate(int columnPos,
java.util.Date dtVal)
throws SeException
setTime(int, java.util.Calendar).
columnPos - position of the column (0-n)dtVal - the value to set at columnPos.
SeException
public void setTime(int columnPos,
java.util.Calendar calendar)
throws SeException
columnPos - position of the column.calendar - the java.util.Calendar value used to set the date.
SeExceptionpublic java.lang.Double getDouble(int columnPos)
Double.
columnPos - position of the column (0-n)
public void setDouble(int columnPos,
java.lang.Double dblVal)
throws SeException
columnPos - position of the column (0-n)dblVal - the value to set at columnPos.
SeExceptionpublic java.lang.String getString(int columnPos)
String.
columnPos - position of the column (0-n)
public void setString(int columnPos,
java.lang.String strVal)
throws SeException
columnPos - position of the column (0-n)strVal - the value to set at columnPos.
SeExceptionpublic java.lang.String getNString(int columnPos)
NString.
columnPos - position of the column (0-n)
public void setNString(int columnPos,
java.lang.String strVal)
throws SeException
columnPos - position of the column (0-n)strVal - the value to set at columnPos.
SeException
public SeShape getShape(int columnPos)
throws SeException
columnPos - position of the column (0-n)
SeException
public java.lang.Object getGeometry(GeometryFactory factory,
int columnPos)
throws SeException
columnPos - position of the column (0-n)
SeException
public void setShape(int columnPos,
SeShape shpVal)
throws SeException
columnPos - position of the column (0-n)shpVal - the value to set at columnPos.
SeException
public java.io.ByteArrayInputStream getBlob(int columnPos)
throws SeException
columnPos - position of the column (0-n)
SeException
public void setBlob(int columnPos,
java.io.ByteArrayInputStream blobVal)
throws SeException
columnPos - position of the column (0-n)blobVal - the value to set at columnPos.
SeException
public java.io.ByteArrayInputStream getClob(int columnPos)
throws SeException
columnPos - position of the column (0-n)
SeException
public void setClob(int columnPos,
java.io.ByteArrayInputStream clobVal)
throws SeException
columnPos - position of the column (0-n)clobVal - the value to set at columnPos.
SeException
public java.io.ByteArrayInputStream getNClob(int columnPos)
throws SeException
columnPos - position of the column (0-n)
SeException
public void setNClob(int columnPos,
java.io.ByteArrayInputStream nclobVal)
throws SeException
columnPos - position of the column (0-n)nclobVal - the value to set at columnPos.
SeException
public java.lang.Object getObject(int columnPos)
throws SeException
Object.
Use this method to retrieve a column value and then cast the Object
to the expected type. Blobs cannot be retreived by this method.
columnPos - position of the column (0-n)
SeExceptionpublic void reset()
public int[] getSpatialMasks()
throws SeException
SeQuery.setSpatialConstraints(short, boolean, com.esri.sde.sdk.client.SeFilter[]). If the calcMasks argument
of SeQuery.setSpatialConstraints(short, boolean, com.esri.sde.sdk.client.SeFilter[]) is true, all
spatial masks are retrieved.
SeException
public SeRasterAttr getRaster(int columnPos)
throws SeException
SeQuery.fetch().
columnPos - as int value
SeException - if an error occurs
public SeRasterAttr getRaster(int columnPos,
boolean importMode)
throws SeException
SeQuery.fetch()
.
columnPos - as int valueimportMode - If true, export rasterTile in ArcSDE server
native format (ie, pixel data is uncompress).
SeException - if an error occurs
public SeRasterTile getRasterTile()
throws SeException
SeException - if an error occurs
public void setRaster(int columnPos,
SeRasterAttr rasAttrVal)
throws SeException
columnPos - as int valuerasAttrVal - raster attribute value.
SeException - if an error occurs
public void setRaster(int columnPos,
SeRasterAttr rasAttrVal,
boolean importMode)
throws SeException
columnPos - as int valuerasAttrVal - raster attribute value.importMode - true, callback function expect rasterTile
else expect image_scan_lines.
SeException - if an error occurs
public void setXml(int columnPos,
SeXmlDoc xmlVal)
throws SeException
columnPos - as int valuexmlVal - the xml doc to copy
SeException - if an error occurs
public void setUuid(int columnPos,
java.lang.String uuidVal)
throws SeException
columnPos - as int valueuuidVal - the uuid value
SeException - if an error occurs
public SeXmlDoc getXml(int columnPos)
throws SeException
columnPos - as int value
SeException - if an error occurs
public java.lang.String getUuid(int columnPos)
throws SeException
columnPos - as int value
SeException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||