Methods Summary |
---|
public java.lang.String | getCatalogName(int column)
return "";
|
protected SimpleTextColumn | getColumn(int col)
SimpleTextColumn column = (SimpleTextColumn)
inMemoryColumns.get(new Integer(col));
if (column == null) {
throw new SQLException("Invalid column number: " + col);
}
return column;
|
public int | getColumnCount()
return inMemoryColumns.size();
|
public int | getColumnDisplaySize(int column)
return (getColumn(column)).displaySize;
|
public java.lang.String | getColumnLabel(int column)
// Use the column name
return getColumnName(column);
|
public java.lang.String | getColumnName(int column)
return (getColumn(column)).name;
|
public int | getColumnType(int column)
return (getColumn(column)).type;
|
public java.lang.String | getColumnTypeName(int column)
return (getColumn(column)).typeName;
|
public int | getPrecision(int column)
return (getColumn(column)).precision;
|
public int | getScale(int column)
// The SimpleText driver does not support any data types with scale
return 0;
|
public java.lang.String | getSchemaName(int column)
// The SimpleText driver does not support schemas
return "";
|
public java.lang.String | getTableName(int column)
return "";
|
public void | initialize(java.util.Hashtable columns, boolean readOnly)
inMemoryColumns = columns;
|
public boolean | isAutoIncrement(int column)
// The SimpleText driver does not support auto increment columns
return false;
|
public boolean | isCaseSensitive(int column)
// Case never matters
return false;
|
public boolean | isCurrency(int column)
// The SimpleText driver does not support any currency data types
return false;
|
public boolean | isDefinitelyWritable(int column)
return !isReadOnly(column);
|
public int | isNullable(int column)
// The SimpleText driver does not support nullable columns
return columnNoNulls;
|
public boolean | isReadOnly(int column)
return readOnly;
|
public boolean | isSearchable(int column)
// The SimpleText driver does not support searching
return false;
|
public boolean | isSigned(int column)
// The SimpleText driver does not support signed columns
return false;
|
public boolean | isWritable(int column)
return !isReadOnly(column);
|