|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gps.postprocessing.GpsCorrectionDatabase
public class GpsCorrectionDatabase
Database storing GPS correction data.
Copyright 2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
GpsCorrectionDatabase()
Creates a GpsCorrectionDatabase pointing at the MySQL database "partner" server on PartnerHub. |
|
GpsCorrectionDatabase(SqlDatabase database)
Creates a GpsCorrectionDatabase pointing at the given database. |
|
GpsCorrectionDatabase(java.lang.String serverAddress)
Creates a GpsCorrectionDatabase pointing at the MySQL database "partner" server on the given server. |
|
| Method Summary | |
|---|---|
void |
close()
|
void |
connect()
|
GpsCorrectionFile |
correctionFileNamed(java.lang.String name)
Returns the correction file for the given name, or null if there is none. |
GpsCorrection |
correctionForGuid(java.lang.String guid)
Returns the correction for the given GUID, or null if there is none. |
void |
createTables()
|
void |
dropTables()
|
void |
storeCorrection(GpsCorrection correction)
Stores the given correction so that it can be looked up later by guid. |
void |
storeCorrection(java.lang.String guid,
java.lang.String fileName,
double longitude,
double latitude)
Stores the given correction so that it can be looked up later by guid. |
void |
storeCorrectionFile(GpsCorrectionFile file)
Stores the given correction file so that it can be looked up later by name. |
void |
storeCorrectionFile(java.lang.String name,
java.lang.String path,
long checksum,
DateAndTime lastModified)
Stores the given correction file so that it can be looked up later by name. |
boolean |
tablesExist()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GpsCorrectionDatabase()
public GpsCorrectionDatabase(java.lang.String serverAddress)
public GpsCorrectionDatabase(SqlDatabase database)
| Method Detail |
|---|
public void connect()
throws java.sql.SQLException
java.sql.SQLException
public void close()
throws java.sql.SQLException
java.sql.SQLException
public void dropTables()
throws java.sql.SQLException
java.sql.SQLException
public boolean tablesExist()
throws java.sql.SQLException
java.sql.SQLException
public void createTables()
throws java.sql.SQLException
java.sql.SQLException
public GpsCorrection correctionForGuid(java.lang.String guid)
throws java.sql.SQLException
guid -
java.sql.SQLException
public void storeCorrection(GpsCorrection correction)
throws java.sql.SQLException
correction -
java.sql.SQLException
public void storeCorrection(java.lang.String guid,
java.lang.String fileName,
double longitude,
double latitude)
throws java.sql.SQLException
java.sql.SQLException
public GpsCorrectionFile correctionFileNamed(java.lang.String name)
throws java.sql.SQLException
java.sql.SQLException
public void storeCorrectionFile(GpsCorrectionFile file)
throws java.sql.SQLException
java.sql.SQLException
public void storeCorrectionFile(java.lang.String name,
java.lang.String path,
long checksum,
DateAndTime lastModified)
throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||