Methods Summary |
---|
protected void | appendBoolean(java.lang.Boolean bool, java.io.Writer writer)INTERNAL:
Appends a Boolean value as true/false instead of 0/1
writer.write(bool.toString());
|
protected void | appendDate(java.sql.Date date, java.io.Writer writer)INTERNAL:
Write a Date in PointBase specific format.
writer.write("DATE '" + date + "'");
|
protected void | appendTime(java.sql.Time time, java.io.Writer writer)INTERNAL:
Write a Time in PointBase specific format.
writer.write("TIME '" + time + "'");
|
protected void | appendTimestamp(java.sql.Timestamp timestamp, java.io.Writer writer)INTERNAL:
Write a TimeStamp in PointBase specific format.
writer.write("TIMESTAMP '" + timestamp + "'");
|
protected java.util.Hashtable | buildClassTypes()
Hashtable classTypeMapping = super.buildClassTypes();
classTypeMapping.put("FLOAT", Double.class);
classTypeMapping.put("DOUBLE PRECISION", Double.class);
classTypeMapping.put("CHARACTER", String.class);
classTypeMapping.put("CLOB", Character[].class);
classTypeMapping.put("BLOB", Byte[].class);
classTypeMapping.put("BOOLEAN", Boolean.class);
return classTypeMapping;
|
protected java.util.Hashtable | buildFieldTypes()
Hashtable fieldTypeMapping;
fieldTypeMapping = super.buildFieldTypes();
fieldTypeMapping.put(Boolean.class, new FieldTypeDefinition("BOOLEAN"));
fieldTypeMapping.put(Long.class, new FieldTypeDefinition("NUMERIC", 19));
fieldTypeMapping.put(Short.class, new FieldTypeDefinition("NUMERIC", 5));
fieldTypeMapping.put(Byte.class, new FieldTypeDefinition("NUMERIC", 3));
fieldTypeMapping.put(java.math.BigInteger.class, new FieldTypeDefinition("NUMERIC", 19));
fieldTypeMapping.put(Integer.class, new FieldTypeDefinition("INTEGER", false));
fieldTypeMapping.put(Float.class, new FieldTypeDefinition("REAL", false));
fieldTypeMapping.put(Double.class, new FieldTypeDefinition("DOUBLE", false));
fieldTypeMapping.put(Short.class, new FieldTypeDefinition("SMALLINT", false));
fieldTypeMapping.put(java.math.BigDecimal.class, new FieldTypeDefinition("DECIMAL"));
fieldTypeMapping.put(Number.class, new FieldTypeDefinition("DECIMAL"));
fieldTypeMapping.put(Character.class, new FieldTypeDefinition("CHARACTER"));
return fieldTypeMapping;
|
protected void | initializePlatformOperators()
super.initializePlatformOperators();
addOperator(ExpressionOperator.simpleMath(ExpressionOperator.Concat, "||"));
|
public boolean | isPointBase()
return true;
|