Package adams.db.types
Class TypesSQLite
- java.lang.Object
-
- adams.db.types.AbstractTypes
-
- adams.db.types.TypesSQLite
-
- All Implemented Interfaces:
Serializable
public class TypesSQLite extends AbstractTypes
Column types for SQLite.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.db.types.AbstractTypes
m_Cache, m_Types, MAX_MEDIUMTEXT, MAX_TEXT, MAX_VARCHAR
-
-
Constructor Summary
Constructors Constructor Description TypesSQLite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
handles(String url)
Checks whether this URL is handled.String
regexpKeyword()
Returns the keyword for regular expression matching in queries.String
toTypeString(int type, int size, boolean compare)
Get a string representation of this type for comparison or create purposes.-
Methods inherited from class adams.db.types.AbstractTypes
actualSize, getHandler
-
-
-
-
Method Detail
-
toTypeString
public String toTypeString(int type, int size, boolean compare)
Get a string representation of this type for comparison or create purposes.- Specified by:
toTypeString
in classAbstractTypes
- Parameters:
type
- the typesize
- the sizecompare
- if true then a string for comparison is returned, otherwise for creation- Returns:
- string representation of this type
-
regexpKeyword
public String regexpKeyword()
Returns the keyword for regular expression matching in queries.- Specified by:
regexpKeyword
in classAbstractTypes
- Returns:
- the keyword
-
handles
public boolean handles(String url)
Checks whether this URL is handled.- Specified by:
handles
in classAbstractTypes
- Parameters:
url
- the URL to check- Returns:
- true if handled by this type class
-
-