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);
}
Aggregations