public abstract class GribPartitionBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected File |
directory |
protected org.slf4j.Logger |
logger |
protected String |
name |
protected PartitionManager |
partitionManager |
protected PartitionCollection |
result |
protected static int |
version |
| Modifier | Constructor and Description |
|---|---|
protected |
GribPartitionBuilder(String name,
File directory,
PartitionManager tpc,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createPartitionedIndex(CollectionUpdateType forcePartition,
CollectionUpdateType forceChildren,
Formatter errlog) |
protected abstract String |
getMagicStart() |
boolean |
updateNeeded(CollectionUpdateType ff) |
protected boolean |
writeIndex(PartitionCollection pc,
Formatter f) |
protected GribCollectionProto.Parameter |
writeParamProto(Parameter param) |
protected static final int version
protected final PartitionManager partitionManager
protected String name
protected File directory
protected org.slf4j.Logger logger
protected PartitionCollection result
protected GribPartitionBuilder(String name, File directory, PartitionManager tpc, org.slf4j.Logger logger)
public boolean updateNeeded(CollectionUpdateType ff) throws IOException
IOExceptionpublic boolean createPartitionedIndex(CollectionUpdateType forcePartition, CollectionUpdateType forceChildren, Formatter errlog) throws IOException
IOExceptionprotected abstract String getMagicStart()
protected boolean writeIndex(PartitionCollection pc, Formatter f) throws IOException
IOExceptionprotected GribCollectionProto.Parameter writeParamProto(Parameter param) throws IOException
IOExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.