public class LargeBinaryStoredField extends StoredFieldSchema<SFile>
StoredFieldSchema.Visitor
Constructor and Description |
---|
LargeBinaryStoredField(java.lang.String name,
StoredTableSchema parent)
Constructor of the field with no maximum size specified
|
LargeBinaryStoredField(java.lang.String name,
StoredTableSchema parent,
int maxfilesize)
Constructor of the field
|
Modifier and Type | Method and Description |
---|---|
void |
accept(StoredFieldSchema.Visitor visitor)
gateway for a visitor
|
QueryCondition |
buildQueryCondition(QueryOperator<SFile> operator,
SFile value)
build a simple query condition with this field
|
SFile |
castToType(java.lang.Object o) |
SFile |
defaultValue() |
SFile |
defaultValueAtColumnCreation()
returns default value of the field
|
int |
getMaxFileSize()
the maximum file size, expressed in kilobytes, zero if the file size is unlimited
|
Field<SFile> |
initBlankField()
this method returns a subclass of Field appropriate for the field schema
|
getParent
toString
changeName, cleanName, equals, getName
public LargeBinaryStoredField(java.lang.String name, StoredTableSchema parent, int maxfilesize)
name
- name of the field in the persistent storage databaseparent
- the table this field is part ofmaxfilesize
- maximum file size, expressed in kilobytes, zero if the file size is unlimitedpublic LargeBinaryStoredField(java.lang.String name, StoredTableSchema parent)
name
- name of the field in the persistent storage databaseparent
- the table this field is part ofpublic int getMaxFileSize()
public QueryCondition buildQueryCondition(QueryOperator<SFile> operator, SFile value)
StoredFieldSchema
buildQueryCondition
in class StoredFieldSchema<SFile>
operator
- condition operator '='value
- value of the query conditionpublic void accept(StoredFieldSchema.Visitor visitor)
StoredFieldSchema
accept
in class StoredFieldSchema<SFile>
visitor
- visitorpublic SFile defaultValueAtColumnCreation()
StoredFieldSchema
defaultValueAtColumnCreation
in class StoredFieldSchema<SFile>
public SFile defaultValue()
defaultValue
in class StoredFieldSchema<SFile>
public SFile castToType(java.lang.Object o)
castToType
in class StoredFieldSchema<SFile>
o
- an uncasted objectpublic Field<SFile> initBlankField()
FieldSchema
initBlankField
in class FieldSchema<SFile>