net.sf.farrago.syslib
Class FarragoMedUDR.BrowseSchemaSink
java.lang.Object
net.sf.farrago.namespace.util.MedAbstractMetadataSink
net.sf.farrago.syslib.FarragoMedUDR.BrowseSchemaSink
- All Implemented Interfaces:
- FarragoMedMetadataSink
- Enclosing class:
- FarragoMedUDR
private static class FarragoMedUDR.BrowseSchemaSink
- extends MedAbstractMetadataSink
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverName
private final String serverName
resultInserter
private final PreparedStatement resultInserter
FarragoMedUDR.BrowseSchemaSink
FarragoMedUDR.BrowseSchemaSink(FarragoMedMetadataQuery query,
String serverName,
PreparedStatement resultInserter)
writeObjectDescriptor
public boolean writeObjectDescriptor(String name,
String typeName,
String remarks,
Properties properties)
- Description copied from interface:
FarragoMedMetadataSink
- Writes a generic descriptor for an object. Some objects (such as columns)
have more specific write methods.
- Parameters:
name
- unqualified object nameremarks
- object description, or null for noneproperties
- storage options
- Returns:
- true if object was accepted; false if object was filtered out
writeColumnDescriptor
public boolean writeColumnDescriptor(String tableName,
String columnName,
int ordinal,
RelDataType type,
String remarks,
String defaultValue,
Properties properties)
- Description copied from interface:
FarragoMedMetadataSink
- Writes a descriptor for a column.
- Parameters:
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
- Returns:
- true if object was accepted; false if object was filtered out