Class BlobField
- java.lang.Object
-
- simpleorm.dataset.SFieldMeta
-
- simpleorm.dataset.SFieldScalar
-
- simpleorm.dataset.SFieldBlob
-
- com.inductiveautomation.ignition.gateway.localdb.persistence.BlobField
-
- All Implemented Interfaces:
java.io.Serializable
public class BlobField extends SFieldBlob
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class simpleorm.dataset.SFieldScalar
sqlDataTypeOverride, theGenerator
-
Fields inherited from class simpleorm.dataset.SFieldMeta
quoteName
-
-
Constructor Summary
Constructors Constructor Description BlobField(SRecordMeta<?> meta, java.lang.String columnName, SFieldFlags... pvals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormMeta
getFormMeta()
java.lang.Object
queryFieldValue(java.sql.ResultSet rs, int sqlIndex)
Issues a JDBC get*() on the result set for the field and converts the database type to the appropriate internal type, eg, Double for a double field.BlobField
setDefault(byte[] value)
-
Methods inherited from class simpleorm.dataset.SFieldBlob
convertToDataSetFieldType, defaultSqlDataType, isFKeyCompatible, javaSqlType, writeFieldValue
-
Methods inherited from class simpleorm.dataset.SFieldScalar
getColumnName, getGeneratorMode, getGeneratorParameter, getMaxSize, getReferences, getTheGenerator, isForeignKey, isGenerated, isMandatory, isNotOptimisticLocked, isPrimary, overrideSqlDataType, setGeneratorMode, setMaxSize, setTheGenerator, toLongerString
-
Methods inherited from class simpleorm.dataset.SFieldMeta
addFlag, addValidator, doValidate, equals, getFieldName, getFlags, getRecordMeta, getUserProperties, getUserProperty, getValidators, hashCode, isDescriptive, isUnqueried, nextGeneratedValue, putUserProperty, readResolve, setQuoted, toString, writeFieldValue
-
-
-
-
Constructor Detail
-
BlobField
public BlobField(SRecordMeta<?> meta, java.lang.String columnName, SFieldFlags... pvals)
-
-
Method Detail
-
getFormMeta
public FormMeta getFormMeta()
-
setDefault
public BlobField setDefault(byte[] value)
-
queryFieldValue
public java.lang.Object queryFieldValue(java.sql.ResultSet rs, int sqlIndex) throws java.lang.Exception
Description copied from class:SFieldMeta
Issues a JDBC get*() on the result set for the field and converts the database type to the appropriate internal type, eg, Double for a double field. The first column has sqlIndex==1.- Overrides:
queryFieldValue
in classSFieldBlob
- Throws:
java.lang.Exception
-
-