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, updateInitArgs
public static final String REST_END_POINT
public ManagedFeatureStore(String resourceId, SolrResourceLoader loader, ManagedResourceStorage.StorageIO storageIO) throws SolrException
SolrException
public 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 ManagedResource
SolrException
public Object applyUpdatesToManagedData(Object updates)
applyUpdatesToManagedData
in class ManagedResource
public void doDeleteChild(BaseSolrResource endpoint, String childId)
doDeleteChild
in class ManagedResource
public void doGet(BaseSolrResource endpoint, String childId)
doGet
in class ManagedResource
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.