The FieldAttribute class contains the fields shown in the following table.
Constant | Value | Description |
UNSPECIFIED | -1 | Does not specify the field attributes. |
MAYDEFER | 0x2 | Indicates that the field is deferred; that is, the field values are not retrieved from the data source with the whole record, but only when you explicitly access them. |
UPDATABLE | 0x4 | Indicates that you can write to the field. |
UNKNOWNUPDATABLE | 0x8 | Indicates that the provider cannot determine if you can write to the field. |
FIXED | 0x10 | Indicates that the field contains fixed-length data. |
ISNULLABLE | 0x20 | Indicates that the field accepts Null values. |
MAYBENULL | 0x40 | Indicates that you can read Null values from the field. |
LONG | 0x80 | Indicates that the field is a long binary field. Also indicates that you can use the com.ms.wfc.data.Field.appendChunk, com.ms.wfc.data.Field.getByteChunk, com.ms.wfc.data.Field.getCharChunk, and com.ms.wfc.data.Field.getStringChunk methods. |
ROWID | 0x100 | Indicates that the field contains a persistent row identifier that cannot be written to and has no meaningful value except to identify the row (such as a record number, unique identifier, and so forth). |
ROWVERSION | 0x200 | Indicates that the field contains some kind of time or date stamp used to track updates. |
CACHEDEFERRED | 0x1000 | Indicates that the provider caches field values and that subsequent reads are done from the cache. |
NEGATIVESCALE | 0x4000 | Indicates that the field represents numeric value from a column that supports negative scale values. The scale is specified by the com.ms.wfc.data.Field.setNumericScale property. |
KEYCOLUMN | 0x8000 | Indicates that the field is the primary key of the underlying rowset. Also can indicate that the field is part of a compound primary key. |