@Override
    public List<String> getHosts(String segmentName, boolean isRealtime) throws IOException {
        if (isRealtime) {
            return realtimeSegmentPool.getHosts(segmentName, true);
        } else {
            return historySegmentPool.getHosts(segmentName, false);
        }
    }
A table combines realtime segments and history segments.
indexr-server/src/main/java/io/indexr/server/HybridTable.java