@Test public void createTable() { storageRepository.createHBaseTable(); }
public void createHBaseTable() { RepositoryFactory.getSystemRepository().create(); RepositoryFactory.getTraceIndexRepository().create(); RepositoryFactory.getTraceOverviewRepository().create(); RepositoryFactory.getTraceRepository().create(); RepositoryFactory.getExceptionRepository().create(); RepositoryFactory.getMetricRepository().create(); RepositoryFactory.getUserRepository().create(); }
StorageRepository { public void createHBaseTable() { RepositoryFactory.getSystemRepository().create(); RepositoryFactory.getTraceIndexRepository().create(); RepositoryFactory.getTraceOverviewRepository().create(); RepositoryFactory.getTraceRepository().create(); RepositoryFactory.getExceptionRepository().create(); RepositoryFactory.getMetricRepository().create(); RepositoryFactory.getUserRepository().create(); } }
StorageRepository { public void createHBaseTable() { RepositoryFactory.getSystemRepository().create(); RepositoryFactory.getTraceIndexRepository().create(); RepositoryFactory.getTraceOverviewRepository().create(); RepositoryFactory.getTraceRepository().create(); RepositoryFactory.getExceptionRepository().create(); RepositoryFactory.getMetricRepository().create(); RepositoryFactory.getUserRepository().create(); }  }
StorageRepository { public void createHBaseTable() { RepositoryFactory.getSystemRepository().create(); RepositoryFactory.getTraceIndexRepository().create(); RepositoryFactory.getTraceOverviewRepository().create(); RepositoryFactory.getTraceRepository().create(); RepositoryFactory.getExceptionRepository().create(); RepositoryFactory.getMetricRepository().create(); RepositoryFactory.getUserRepository().create(); }  static StorageRepository getStorageRepository(); void createHBaseTable(); void dropHBaseTable(); void initHBaseTable(); void save(TraceIndexTable appTable); void save(TraceOverviewTable traceTable); void save(Span span); void save(SystemData systemData); void save(ExceptionData exception); void save(MetricData metric); List<Map<String, Object>> findExceptionIndex(); List<ExceptionData> findExceptionData(Map<String, String> query); DataPoints[] find(long start,
                             String metric, Map<String, String> tags,
                             Aggregator function, boolean rate); DataPoints[] find(long start, long end,
                             String metric, Map<String, String> tags,
                             Aggregator function, boolean rate); List<Map<String, Object>> findSystemIndex(); SystemData findSystemData(Map<String, String> query); List<Map<String, Object>> findTraceIndex(); List<TraceOverviewTable> findTraceList(Map<String, String> query); Map<String, Integer> findSpanName(String traceId); List<Span> findTrace(String traceId); }
StorageRepository { public void createHBaseTable() { RepositoryFactory.getSystemRepository().create(); RepositoryFactory.getTraceIndexRepository().create(); RepositoryFactory.getTraceOverviewRepository().create(); RepositoryFactory.getTraceRepository().create(); RepositoryFactory.getExceptionRepository().create(); RepositoryFactory.getMetricRepository().create(); RepositoryFactory.getUserRepository().create(); }  static StorageRepository getStorageRepository(); void createHBaseTable(); void dropHBaseTable(); void initHBaseTable(); void save(TraceIndexTable appTable); void save(TraceOverviewTable traceTable); void save(Span span); void save(SystemData systemData); void save(ExceptionData exception); void save(MetricData metric); List<Map<String, Object>> findExceptionIndex(); List<ExceptionData> findExceptionData(Map<String, String> query); DataPoints[] find(long start,
                             String metric, Map<String, String> tags,
                             Aggregator function, boolean rate); DataPoints[] find(long start, long end,
                             String metric, Map<String, String> tags,
                             Aggregator function, boolean rate); List<Map<String, Object>> findSystemIndex(); SystemData findSystemData(Map<String, String> query); List<Map<String, Object>> findTraceIndex(); List<TraceOverviewTable> findTraceList(Map<String, String> query); Map<String, Integer> findSpanName(String traceId); List<Span> findTrace(String traceId);  }