Class CommonDataMapper<T>

java.lang.Object
com.gsitm.ustra.java.data.store.CommonDataMapper<T>
Direct Known Subclasses:
InterfaceInfoDataMapper, ObjectFieldsDataMapper

public abstract class CommonDataMapper<T> extends Object
공통 데이터 매퍼
  • Field Details

  • Constructor Details

  • Method Details

    • load

      public abstract List<T> load()
      데이터 로드
    • reload

      public List<T> reload()
      데이터 재조회
    • refresh

      public void refresh(Object key1, Object key2, Object key3)
      해당 키 값의 데이터 refresh
      Parameters:
      key1 -
      key2 -
      key3 -
    • reloadSchedule

      public String reloadSchedule()
      리로드 스케쥴 cron (null일 경우, 리로드 없음)
    • map

      public Optional<T> map(Object key1)
      데이터 매핑
      Parameters:
      key1 - key1
    • map

      public Optional<T> map(Object key1, Object key2)
      데이터 매핑
      Parameters:
      key1 - key1
      key2 - key2
    • map

      public Optional<T> map(Object key1, Object key2, Object key3)
      데이터 매핑
      Parameters:
      key1 - key1
      key2 - key2
      key3 - key3
    • all

      public List<T> all()
      모든 데이터 조회
    • getData

      protected List<T> getData()
      Map 데이터 조회
    • injectData

      public void injectData(List<T> data)
      데이터 삽입