Java Code Examples for org.apache.kylin.metadata.realization.RealizationType#INVERTED_INDEX

The following examples show how to use org.apache.kylin.metadata.realization.RealizationType#INVERTED_INDEX . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StorageEngineFactory.java    From Kylin with Apache License 2.0 5 votes vote down vote up
public static IStorageEngine getStorageEngine(IRealization realization) {
    if (realization.getType() == RealizationType.INVERTED_INDEX) {
        return new InvertedIndexStorageEngine((IIInstance) realization);
    } else {
        return new CubeStorageEngine((CubeInstance) realization);
    }
}
 
Example 2
Source File: IIManager.java    From Kylin with Apache License 2.0 4 votes vote down vote up
@Override
public RealizationType getRealizationType() {
    return RealizationType.INVERTED_INDEX;
}
 
Example 3
Source File: IIInstance.java    From Kylin with Apache License 2.0 4 votes vote down vote up
@Override
public RealizationType getType() {
    return RealizationType.INVERTED_INDEX;
}