|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sqlite.callback.Callback
org.sqlite.callback.NamedCallback
org.sqlite.text.Collator
public abstract class Collator
User-Defined Collating Sequence class.
JdbcConnection.createCollationSequence(org.sqlite.text.Collator),
JdbcConnection.dropCollationSequence(org.sqlite.text.Collator)| Constructor Summary | |
|---|---|
Collator(java.lang.String name)
Create new collation sequence with SQLITE_UTF8. |
|
Collator(java.lang.String name,
int enc)
Create new collation sequence. |
|
| Method Summary | |
|---|---|
void |
register(SWIGTYPE_p_sqlite3 db)
invoke sqlite3_create_collation_v2() function and this object is registered in the database. WARNING! Do not use this method because it is called internally. |
void |
unregister(SWIGTYPE_p_sqlite3 db)
Unregister this object from the database. WARNING! Do not use this method because it is called internally. |
| Methods inherited from class org.sqlite.callback.NamedCallback |
|---|
getEncoding, getName |
| Methods inherited from class org.sqlite.callback.Callback |
|---|
delete, isRegistered |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
compare, equals |
| Constructor Detail |
|---|
public Collator(java.lang.String name)
name - the name of the new collation sequence.NamedCallback.NamedCallback(java.lang.String)
public Collator(java.lang.String name,
int enc)
name - the name of the new collation sequence.enc - the most desirable encoding may be one of the constants SQLITE_UTF8, SQLITE_UTF16LE, SQLITE_UTF16BE or SQLITE_UTF16_ALIGNED.NamedCallback.NamedCallback(java.lang.String, int)| Method Detail |
|---|
public void register(SWIGTYPE_p_sqlite3 db)
throws java.sql.SQLException
register in class Callbackdb - the database handle.
java.sql.SQLException - When the return value of the sqlite3_create_collation_v2() function is not SQLITE_OK.Database.createCollationSequence(Collator)
public void unregister(SWIGTYPE_p_sqlite3 db)
throws java.sql.SQLException
unregister in class Callbackdb - the database handle.
java.sql.SQLException - When the return value of the sqlite3_create_collation() function is not SQLITE_OK.Database.dropCollationSequence(Collator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||