public class ColorField extends Field
ILLEGAL_CHARACTERS, name, referenceTable, requirement| Constructor and Description |
|---|
ColorField(String name,
Requirement requirement) |
| Modifier and Type | Method and Description |
|---|---|
SQLType |
getSqlType()
From the Postgres manual, on character types:
There is no performance difference among these three types, apart from increased storage space when using
the blank-padded type, and a few extra CPU cycles to check the length when storing into a length-constrained
column.
|
Set<NewGTFSError> |
setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
ValidateFieldResult<String> |
validateAndConvert(String string)
Check that a string can be properly parsed and is in range.
|
cleanString, cleanString, getColumnExpression, getFieldIndex, getSqlDeclaration, getSqlTypeName, indexThisColumn, isEmptyValuePermitted, isForeignReference, isReferenceTo, isRequired, missingRequired, permitEmptyValue, setNull, shouldBeIndexedpublic ColorField(String name, Requirement requirement)
public ValidateFieldResult<String> validateAndConvert(String string)
validateAndConvert in class Fieldstring - a non-null Stringpublic Set<NewGTFSError> setParameter(PreparedStatement preparedStatement, int oneBasedIndex, String string)
setParameter in class Fieldpublic SQLType getSqlType()
getSqlType in class FieldCopyright © 2019. All rights reserved.