| 
    BusBoy
    2
    
   | 
 
#include <ExternalDatasetContext.h>
  
 Public Member Functions | |
| ExternalDatasetContext (bool output, const CExternalDatasetCallbacks &callbacks, ExternalDatasetSerializer *serializer) | |
| DataFile * | findDataFile (const DataKey &key) const | 
| Tries to find a file corresponding to the given key.  More... | |
| bool | isOutput () const | 
| default is false  More... | |
| bool | isQueryOnly () const | 
| Indicates that no file keys are pushed into the dataset Default is false.  More... | |
| void | addDataFile (const DataKey &key, DataFile *file) | 
| Create a new output file for writing.  More... | |
| std::string | getDataFileName (const DataKey &key) const | 
| Tries to get the name of the data file.  More... | |
| RandomAccessFile * | readFileAsRandomAccess (const DataKey &key) const | 
| Access input file as a read-only random access file Default is to throw exception.  More... | |
| WritableRandomAccessFile * | writeFileAsRandomAccess (const DataKey &key) const | 
| Access output file as a writable random access file Default is to throw exception.  More... | |
| ~ExternalDatasetContext () | |
  Public Member Functions inherited from BUSBOY::DatasetContext | |
| DatasetContext () | |
| BUSBOY::ExternalDatasetContext::ExternalDatasetContext | ( | bool | output, | 
| const CExternalDatasetCallbacks & | callbacks, | ||
| ExternalDatasetSerializer * | serializer | ||
| ) | 
| BUSBOY::ExternalDatasetContext::~ExternalDatasetContext | ( | ) | 
Create a new output file for writing.
Default is to throw exception
Reimplemented from BUSBOY::DatasetContext.
Tries to find a file corresponding to the given key.
Default behavior is no file found.
Reimplemented from BUSBOY::DatasetContext.
      
  | 
  virtual | 
Tries to get the name of the data file.
Default is name not available.
Reimplemented from BUSBOY::DatasetContext.
      
  | 
  virtual | 
default is false
Reimplemented from BUSBOY::DatasetContext.
      
  | 
  virtual | 
Indicates that no file keys are pushed into the dataset Default is false.
Reimplemented from BUSBOY::DatasetContext.
      
  | 
  virtual | 
Access input file as a read-only random access file Default is to throw exception.
Reimplemented from BUSBOY::DatasetContext.
      
  | 
  virtual | 
Access output file as a writable random access file Default is to throw exception.
Reimplemented from BUSBOY::DatasetContext.
 1.8.3.1
Copyright 2014 Google Inc. All rights reserved.