Search in sources :

Example 1 with HistoryReindexingState

use of com.thinkbiganalytics.metadata.api.feed.reindex.HistoryReindexingState in project kylo by Teradata.

the class FeedData method createHistoryReindexingStatus.

private HistoryReindexingStatus createHistoryReindexingStatus(Node historyReindexingNode) {
    HistoryReindexingState historyReindexingState = HistoryReindexingState.valueOf(JcrPropertyUtil.getString(historyReindexingNode, REINDEXING_STATUS));
    DateTime lastModifiedTimestamp = JcrPropertyUtil.getProperty(historyReindexingNode, "jcr:lastModified");
    return new HistoryReindexingStatus(historyReindexingState, lastModifiedTimestamp);
}
Also used : HistoryReindexingState(com.thinkbiganalytics.metadata.api.feed.reindex.HistoryReindexingState) HistoryReindexingStatus(com.thinkbiganalytics.metadata.api.feed.reindex.HistoryReindexingStatus) DateTime(org.joda.time.DateTime)

Aggregations

HistoryReindexingState (com.thinkbiganalytics.metadata.api.feed.reindex.HistoryReindexingState)1 HistoryReindexingStatus (com.thinkbiganalytics.metadata.api.feed.reindex.HistoryReindexingStatus)1 DateTime (org.joda.time.DateTime)1