net.sf.sparql.benchmarking.loader
Interface OperationMixLoader

All Known Implementing Classes:
AbstractLineBasedMixLoader, AbstractOperationMixLoader, ClassicQueryMixLoader, TsvMixLoader

public interface OperationMixLoader

Interface for operation mix loaders

Author:
rvesse

Method Summary
 String getPreferredExtension()
          Gets the file extension without the leading . that this loader prefers to use for its mix files
 OperationMix load(File file)
          Loads an operation mix from the given file
 

Method Detail

load

OperationMix load(File file)
                  throws IOException
Loads an operation mix from the given file

Parameters:
file - File
Returns:
Operation mix
Throws:
IOException

getPreferredExtension

String getPreferredExtension()
Gets the file extension without the leading . that this loader prefers to use for its mix files

This is the preferred extension used in certain circumstances such as when registering using OperationMixLoaderRegistry.addLoader(OperationMixLoader) but users may register a mix loader with any extension they want.

Returns:
Preferred extension


Copyright © 2014. All Rights Reserved.