public abstract class AbstractIndexClient extends Object implements IndexClient
| Modifier and Type | Field and Description |
|---|---|
protected static String |
INDEX_BACKEND_ID |
protected static String |
INDEX_HOST |
protected static String |
INDEX_PORT |
protected Map<String,String> |
serviceProperties |
protected static String |
ZK_ADDRESS |
| Constructor and Description |
|---|
AbstractIndexClient(String format,
String layout,
String interpretation,
Map<String,String> serviceProperties) |
| Modifier and Type | Method and Description |
|---|---|
abstract eu.dnetlib.functionality.cql.CqlValueTransformerMap |
getCqlValueTransformerMap(MetadataReference mdRef) |
String |
getFormat()
Gets the format.
|
abstract IndexQueryFactory |
getIndexQueryFactory() |
String |
getInterpretation()
Gets the interpretation.
|
String |
getLayout()
Gets the layout.
|
Map<String,String> |
getServiceProperties() |
void |
setFormat(String format)
Sets the format.
|
void |
setInterpretation(String interpretation)
Sets the interpretation.
|
void |
setLayout(String layout)
Sets the layout.
|
void |
setServiceProperties(Map<String,String> serviceProperties) |
protected static String INDEX_HOST
protected static String INDEX_PORT
protected static String INDEX_BACKEND_ID
protected static String ZK_ADDRESS
public abstract eu.dnetlib.functionality.cql.CqlValueTransformerMap getCqlValueTransformerMap(MetadataReference mdRef) throws IndexClientException
IndexClientExceptionpublic abstract IndexQueryFactory getIndexQueryFactory()
public String getFormat()
public void setFormat(String format)
format - the formatpublic String getLayout()
public void setLayout(String layout)
layout - the layoutpublic String getInterpretation()
public void setInterpretation(String interpretation)
interpretation - the interpretationCopyright © 2019. All rights reserved.