public interface MVSService
Modifier and Type | Method and Description |
---|---|
MVSQueryRequester |
createQueryRequester()
Creates an instance of
MVSQueryRequester used to send match requests |
void |
environmentCleanup(Configuration conf)
Performs cleanning tasks like removing temporal file.
|
void |
environmentSetup(Configuration conf)
Performs the necessary setup before running a job.
|
java.lang.String[] |
getLayers()
Gets the layers indexed by MVSuggest
|
MVSConfig |
getMVSConfig()
Gets the MVSuggest configuration bean
|
java.lang.String |
getTemplate(java.lang.String layer)
Gets the template content for a single layer
|
void |
init(Configuration conf)
Initializes a single instance per task.
|
MVSQueryRequester createQueryRequester()
MVSQueryRequester
used to send match requestsvoid environmentCleanup(Configuration conf) throws java.io.IOException
conf
- the job configurationjava.io.IOException
void environmentSetup(Configuration conf) throws java.io.IOException
conf
- the job configurationjava.io.IOException
java.lang.String[] getLayers()
MVSConfig getMVSConfig()
java.lang.String getTemplate(java.lang.String layer)
layer
- the template content in JSON formatvoid init(Configuration conf) throws java.io.IOException
conf
- the job configurationjava.io.IOException
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.