public class BooleanField extends Field
ILLEGAL_CHARACTERS, name, referenceTable, requirement| Constructor and Description |
|---|
BooleanField(String name,
Requirement requirement) |
| Modifier and Type | Method and Description |
|---|---|
SQLType |
getSqlType() |
Set<NewGTFSError> |
setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
ValidateFieldResult<String> |
validateAndConvert(String string)
The 0 or 1 will be converted to the string "true" or "false" for SQL COPY.
|
cleanString, cleanString, getColumnExpression, getFieldIndex, getSqlDeclaration, getSqlTypeName, indexThisColumn, isEmptyValuePermitted, isForeignReference, isReferenceTo, isRequired, missingRequired, permitEmptyValue, setNull, shouldBeIndexedpublic BooleanField(String name, Requirement requirement)
public Set<NewGTFSError> setParameter(PreparedStatement preparedStatement, int oneBasedIndex, String string)
setParameter in class Fieldpublic ValidateFieldResult<String> validateAndConvert(String string)
validateAndConvert in class Fieldstring - a non-null Stringpublic SQLType getSqlType()
getSqlType in class FieldCopyright © 2019. All rights reserved.