public class ProtobufMetadataProcessor extends Object implements MetadataProcessor<ObjectConnection>
Here are the rules that are being followed.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
classObjectColumn |
static String |
OBJECT_COL_SUFFIX |
static String |
VIEWTABLE_SUFFIX |
| Constructor and Description |
|---|
ProtobufMetadataProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isClassObjectColumn() |
void |
process(MetadataFactory metadataFactory,
ObjectConnection connection) |
void |
setClassObjectColumn(boolean classObjectAsColumn) |
public static final String VIEWTABLE_SUFFIX
public static final String OBJECT_COL_SUFFIX
protected boolean classObjectColumn
@TranslatorProperty(display="Class Object As Column", category=IMPORT, description="If true, and when the translator provides the metadata, a column of object data type will be created that represents the stored object in the cache", advanced=true) public boolean isClassObjectColumn()
public void setClassObjectColumn(boolean classObjectAsColumn)
public void process(MetadataFactory metadataFactory, ObjectConnection connection) throws TranslatorException
process in interface MetadataProcessor<ObjectConnection>TranslatorExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.