@Test public void idxUserメソッドでオブジェクトが正常に取得できる() { EsIndex index = EsModel.idxUser("UriStringForTest"); assertNotNull(index); assertTrue(index.getName().endsWith("UriStringForTest")); assertEquals(EsIndex.CATEGORY_USR, index.getCategory()); }
public static EsIndex idxUser(String userUri) { return esClient.idxUser(DcCoreConfig.getEsUnitPrefix(), userUri, Integer.valueOf(DcCoreConfig.getESRetryTimes()), Integer.valueOf(DcCoreConfig.getESRetryInterval())); }
EsModel { public static EsIndex idxUser(String userUri) { return esClient.idxUser(DcCoreConfig.getEsUnitPrefix(), userUri, Integer.valueOf(DcCoreConfig.getESRetryTimes()), Integer.valueOf(DcCoreConfig.getESRetryInterval())); } }
EsModel { public static EsIndex idxUser(String userUri) { return esClient.idxUser(DcCoreConfig.getEsUnitPrefix(), userUri, Integer.valueOf(DcCoreConfig.getESRetryTimes()), Integer.valueOf(DcCoreConfig.getESRetryInterval())); } private  EsModel(); }
EsModel { public static EsIndex idxUser(String userUri) { return esClient.idxUser(DcCoreConfig.getEsUnitPrefix(), userUri, Integer.valueOf(DcCoreConfig.getESRetryTimes()), Integer.valueOf(DcCoreConfig.getESRetryInterval())); } private  EsModel(); static EsClient client(); static EsIndex idxAdmin(); static EsIndex idxUser(String userUri); static EsIndex idxUserWithUnitPrefix(String indexName); static EsType type(String indexName, String typeName, String routingId, int times, int interval); static EntitySetAccessor cell(); static EntitySetAccessor box(final Cell cell); static EntitySetAccessor unitCtl(final String type, final String cellId); static EntitySetAccessor cellCtl(final Cell cell, final String type); static ODataLinkAccessor unitCtlLink(String cellId); static ODataLinkAccessor cellCtlLink(final Cell cell); static DavNodeAccessor col(final Cell cell); static DataSourceAccessor batch(); static DataSourceAccessor batch(final Cell cell); static DataSourceAccessor dsa(final String unitUserName); static DataSourceAccessor getDataSourceAccessorFromIndexName(final String indexName); }
EsModel { public static EsIndex idxUser(String userUri) { return esClient.idxUser(DcCoreConfig.getEsUnitPrefix(), userUri, Integer.valueOf(DcCoreConfig.getESRetryTimes()), Integer.valueOf(DcCoreConfig.getESRetryInterval())); } private  EsModel(); static EsClient client(); static EsIndex idxAdmin(); static EsIndex idxUser(String userUri); static EsIndex idxUserWithUnitPrefix(String indexName); static EsType type(String indexName, String typeName, String routingId, int times, int interval); static EntitySetAccessor cell(); static EntitySetAccessor box(final Cell cell); static EntitySetAccessor unitCtl(final String type, final String cellId); static EntitySetAccessor cellCtl(final Cell cell, final String type); static ODataLinkAccessor unitCtlLink(String cellId); static ODataLinkAccessor cellCtlLink(final Cell cell); static DavNodeAccessor col(final Cell cell); static DataSourceAccessor batch(); static DataSourceAccessor batch(final Cell cell); static DataSourceAccessor dsa(final String unitUserName); static DataSourceAccessor getDataSourceAccessorFromIndexName(final String indexName); static final String TYPE_CTL_LINK; }