public class ManagedFeatureStore extends ManagedResource implements ManagedResource.ChildResourceSupport
ManagedResource.ChildResourceSupport| Modifier and Type | Field and Description |
|---|---|
static String |
REST_END_POINT
the feature store rest endpoint
|
INIT_ARGS_JSON_FIELD, INITIALIZED_ON_JSON_FIELD, initializedOn, lastUpdateSinceInitialization, MANAGED_JSON_LIST_FIELD, MANAGED_JSON_MAP_FIELD, managedInitArgs, solrResourceLoader, storage, UPDATED_SINCE_INIT_JSON_FIELD| Constructor and Description |
|---|
ManagedFeatureStore(String resourceId,
SolrResourceLoader loader,
ManagedResourceStorage.StorageIO storageIO) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeature(Map<String,Object> map,
String featureStore) |
Object |
applyUpdatesToManagedData(Object updates) |
void |
doDeleteChild(BaseSolrResource endpoint,
String childId) |
void |
doGet(BaseSolrResource endpoint,
String childId)
Called to retrieve a named part (the given childId) of the resource at the
given endpoint.
|
FeatureStore |
getFeatureStore(String name) |
static ManagedFeatureStore |
getManagedFeatureStore(SolrCore core) |
protected void |
onManagedDataLoadedFromStorage(NamedList<?> managedInitArgs,
Object managedData) |
static void |
registerManagedFeatureStore(SolrResourceLoader solrResourceLoader,
ManagedResourceObserver managedResourceObserver) |
buildMapToStore, convertNamedListToMap, createStorage, doPost, doPut, getInitializedOn, getResourceId, getResourceLoader, getServerResourceClass, getUpdatedSinceInitialization, hasChangesSinceInitialization, loadManagedDataAndNotify, notifyObserversDuringInit, onResourceDeleted, processStoredData, reloadFromStorage, storeManagedData, updateInitArgspublic static final String REST_END_POINT
public ManagedFeatureStore(String resourceId, SolrResourceLoader loader, ManagedResourceStorage.StorageIO storageIO) throws SolrException
SolrExceptionpublic static void registerManagedFeatureStore(SolrResourceLoader solrResourceLoader, ManagedResourceObserver managedResourceObserver)
public static ManagedFeatureStore getManagedFeatureStore(SolrCore core)
public FeatureStore getFeatureStore(String name)
protected void onManagedDataLoadedFromStorage(NamedList<?> managedInitArgs, Object managedData) throws SolrException
onManagedDataLoadedFromStorage in class ManagedResourceSolrExceptionpublic Object applyUpdatesToManagedData(Object updates)
applyUpdatesToManagedData in class ManagedResourcepublic void doDeleteChild(BaseSolrResource endpoint, String childId)
doDeleteChild in class ManagedResourcepublic void doGet(BaseSolrResource endpoint, String childId)
doGet in class ManagedResourceCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.