|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iris.Fissures.seed.builder.ExportBuilder
edu.iris.Fissures.seed.builder.SeedExportBuilder
edu.iris.dmc.pdcc.builder.PdccMiniSeedExportBuilder
Concrete builder class for exporting Blockette objects to a miniSEED archive file structure and tabulating the stored data in the form of database table objects that can then be processed by PdccDbExportBuilder. This class and PdccDbExportBuilder will have to be mediated by a master process so that both run in sequence with the associated ExportDirector.
| Nested Class Summary |
| Nested classes inherited from class edu.iris.Fissures.seed.builder.ExportBuilder |
ExportBuilder.LogicalRecord |
| Field Summary |
| Fields inherited from class edu.iris.Fissures.seed.builder.ExportBuilder |
builderType, endOfGroup, endOfLogical, endOfPhysical, exportMold, exportScript, logicalPerPhysical, logicalRecord, logicalRecordCount, logicalRecordLength, logicalRecords, nestingDepth, nestingScore, outputStream, penDown, physicalRecordLength, recordPadding, scriptCursor, scriptNesting, vaxOrder |
| Constructor Summary | |
PdccMiniSeedExportBuilder(java.lang.String configFile,
java.lang.String sessionConfigName,
PdccTableContainer tblContainer)
Same as above except no database configuration name is used, so use the default database configuration. |
|
PdccMiniSeedExportBuilder(java.lang.String configFile,
java.lang.String sessionConfigName,
java.lang.String dbConfigName,
PdccTableContainer tblContainer)
Create an instance of the miniSEED export builder, accepting the specified configuration file, the session configuration name, the database configuration name, and an instance of a table container object. |
|
| Method Summary | |
void |
finish()
inherited method that finalizes the export of data records to the filesystem. |
protected void |
padPhysical()
override the parent class functionality to prevent null padding at the end of the last file that we write out. |
void |
splitToFiles(boolean verbose)
set up splitting to files in some form of filepath structure. |
protected void |
startNewLogical(SeedObject obj,
boolean continuation)
Inherited method that adds functionality to generate table records while the data logical records are being written. |
protected void |
volumeFinish()
this method is called as the final cleanup process after the last logical record has been queued for output to the output stream. |
protected boolean |
writeRecord()
override superclass method with some safety checks |
| Methods inherited from class edu.iris.Fissures.seed.builder.SeedExportBuilder |
checkTrigger, getEndTime, packToRecord, setDatalessMode, setDefaultMode, setMiniMode, setOrganizationName, setVolumeLabel |
| Methods inherited from class edu.iris.Fissures.seed.builder.ExportBuilder |
build, close, getNext, getType, open, padLogical, push, setLogicalRecLen, setPhysicalRecLen, setVaxOrder, startVolume |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PdccMiniSeedExportBuilder(java.lang.String configFile,
java.lang.String sessionConfigName,
java.lang.String dbConfigName,
PdccTableContainer tblContainer)
throws java.lang.Exception
public PdccMiniSeedExportBuilder(java.lang.String configFile,
java.lang.String sessionConfigName,
PdccTableContainer tblContainer)
throws java.lang.Exception
| Method Detail |
public void splitToFiles(boolean verbose)
throws java.lang.Exception
java.lang.Exception
protected void volumeFinish()
throws BuilderException
volumeFinish in class SeedExportBuilderBuilderException
public void finish()
throws java.lang.Exception
finish in class ExportBuilderjava.lang.Exception
protected boolean writeRecord()
throws java.lang.Exception
writeRecord in class ExportBuilderjava.lang.Exception
protected void padPhysical()
throws java.lang.Exception
padPhysical in class ExportBuilderjava.lang.Exception
protected void startNewLogical(SeedObject obj,
boolean continuation)
throws java.lang.Exception
startNewLogical in class SeedExportBuilderjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||