|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FarragoMedMetadataSink
FarragoMedMetadataSink provides a target for instances of FarragoMedNameDirectory
to write metadata results in response to a FarragoMedMetadataQuery
. Results must be written in dependency order (e.g. a
table before its columns), and columns must be written in ordinal order.
Results may be filtered as they are written, in which case the sink reports the filter result back to the caller.
Method Summary | |
---|---|
FarragoTypeFactory |
getTypeFactory()
|
boolean |
writeColumnDescriptor(String tableName,
String columnName,
int ordinal,
RelDataType type,
String remarks,
String defaultValue,
Properties properties)
Writes a descriptor for a column. |
boolean |
writeObjectDescriptor(String name,
String typeName,
String remarks,
Properties properties)
Writes a generic descriptor for an object. |
Method Detail |
---|
boolean writeObjectDescriptor(String name, String typeName, String remarks, Properties properties)
name
- unqualified object nameremarks
- object description, or null for noneproperties
- storage options
boolean writeColumnDescriptor(String tableName, String columnName, int ordinal, RelDataType type, String remarks, String defaultValue, Properties properties)
tableName
- unqualified table namecolumnName
- unqualified column nameordinal
- 0-based ordinal of column within tabletype
- column datatyperemarks
- column description, or null for nonedefaultValue
- column default value, or null for noneproperties
- storage options
FarragoTypeFactory getTypeFactory()
writeColumnDescriptor(java.lang.String, java.lang.String, int, org.eigenbase.reltype.RelDataType, java.lang.String, java.lang.String, java.util.Properties)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |