パッケージ org.iplass.mtp.impl.lob

クラス LobDao

java.lang.Object
org.iplass.mtp.impl.lob.LobDao

public class LobDao extends Object
  • コンストラクタの詳細

    • LobDao

      public LobDao()
  • メソッドの詳細

    • init

      public void init(RdbAdapter rdb, CounterService counterService, LobStoreService lobStoreService)
    • create

      public Lob create(int tenantId, String name, String type, String defId, String propId, String oid, Long version, LobStore lobStore)
    • crateTemporary

      public Lob crateTemporary(int tenantId, String name, String type, String sessionId, LobStore lobStore)
    • create

      public Lob create(Lob toCreate, LobStore lobStore)
    • nextLobId

      public long nextLobId(int tenantId)
    • load

      public Lob load(int tenantId, long lobId, LobStore lobStore)
    • loadWithLock

      public Lob loadWithLock(int tenantId, long lobId, String sessionId, String defId, String propId, String oid, Long version, LobStore lobStore)
    • search

      public Lob[] search(int clientTenantId, long[] lobId, LobStore lobStore)
    • remove

      public void remove(int tenantId, long lobId)
    • remove

      public void remove(int tenantId, String defId, String propId, String[] oid)
    • markPersistence

      public boolean markPersistence(int tenantId, long lobId, String defId, String propId, String oid, Long version)
    • updateBinaryDataInfo

      public boolean updateBinaryDataInfo(int tenantId, long lobId, String name, String type)
    • cleanTemporary

      public void cleanTemporary()
    • getLobIdByRbid

      public List<Long> getLobIdByRbid(int tenantId, long rbid)
    • removeFromRecycleBin

      public void removeFromRecycleBin(int tenantId, long rbid)
    • markToRecycleBin

      public void markToRecycleBin(int tenantId, long lobId, long rbid)
    • markRestoreFromRecycleBin

      public void markRestoreFromRecycleBin(int tenantId, long rbid)
    • refCountUp

      public boolean refCountUp(int tenantId, long lobDataId, int countUpValue)
    • nextLobDataId

      public long nextLobDataId(int tenantId)
    • updateLobDataId

      public boolean updateLobDataId(int tenantId, long lobId, long prevLobDataId, long newLobDataId)
    • initLobData

      public void initLobData(int tenantId, long lobDataId, Long size)
    • getLobIdListForCleanTemporary

      public List<long[]> getLobIdListForCleanTemporary(int day, int tenantId)
      パラメータ:
      day -
      tenantId -
      戻り値:
      LOB_ID,LOB_DATA_IDのリスト
    • getLobDataIdListForClean

      public List<Long> getLobDataIdListForClean(int day, int tenantId)
    • removeData

      public void removeData(int tenantId, long lobDataId)
    • getLobIdByDefId

      public List<Long> getLobIdByDefId(int tenantId, String defId)
    • getLobIdForDefrag

      public List<Long> getLobIdForDefrag(int tenantId, EntityHandler eh)
      Entity定義として参照していないLobデータ情報を取得するためのSQL定義
      パラメータ:
      tenantId -
      eh -
      戻り値:
    • getLobDataIdListForLobStoreSizeUpdate

      public List<Long> getLobDataIdListForLobStoreSizeUpdate(int tenantId)
      LobStoreのLobサイズが登録されていないLobDataIdを返します。
      パラメータ:
      tenantId - 対象テナントID
      戻り値:
      LobDataIdのリスト
    • updateLobStoreSize

      public boolean updateLobStoreSize(int tenantId, long lobDataId, long size)
      LobStoreのLobサイズを更新します。
      パラメータ:
      tenantId - テナントID
      lobDataId - LobDataId
      size - サイズ