クラス GRdbDataStore

すべての実装されたインタフェース:
ServiceInitListener<StoreService>

public class GRdbDataStore extends RdbDataStore
  • コンストラクタの詳細

    • GRdbDataStore

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

    • getOverwriteTableNamePostfixMap

      public Map<String,String> getOverwriteTableNamePostfixMap()
    • setOverwriteTableNamePostfixMap

      public void setOverwriteTableNamePostfixMap(Map<String,String> overwriteTableNamePostfixMap)
    • getTableNamePostfix

      public String getTableNamePostfix(String entityDefinitionName, String tableNamePostfixFromMeta)
      エンティティ定義名に対応するテーブル名接尾辞を取得する。 overwriteTableNamePostfixMap に当該エンティティ定義のものが設定されている場合は、メタデータから取得した接尾辞を上書きする。
      パラメータ:
      entityDefinitionName - エンティティ定義名
      tableNamePostfixFromMeta - Entityメタデータから取得したテーブル名接尾辞
      戻り値:
      テーブル名接尾辞
    • getStorageSpaceMap

      public Map<String,StorageSpaceMap> getStorageSpaceMap()
    • getStorageSpace

      public List<StorageSpaceMap> getStorageSpace()
    • setStorageSpace

      public void setStorageSpace(List<StorageSpaceMap> storageSpace)
    • getApplyMetaDataStrategy

      public ApplyMetaDataStrategy getApplyMetaDataStrategy()
      定義:
      getApplyMetaDataStrategy クラス内 DataStore
    • getEntityStoreStrategy

      public EntityStoreStrategy getEntityStoreStrategy()
      定義:
      getEntityStoreStrategy クラス内 DataStore
    • isEnableWindowFunctionEmulation

      public boolean isEnableWindowFunctionEmulation()
    • setEnableWindowFunctionEmulation

      public void setEnableWindowFunctionEmulation(boolean enableWindowFunctionEmulation)
    • getStringTypeLengthOnQuery

      public Integer getStringTypeLengthOnQuery()
    • setStringTypeLengthOnQuery

      public void setStringTypeLengthOnQuery(Integer stringTypeLengthOnQuery)
    • isForceRegenerateTableNamePostfix

      public boolean isForceRegenerateTableNamePostfix()
      ストレージスペース名が同一の場合に、強制的なテーブル名接尾辞の再生成を実施するかを取得する。
      戻り値:
      true の場合、ストレージスペース名が同一の場合でも強制的にテーブル名接尾辞を再生成する
    • setForceRegenerateTableNamePostfix

      public void setForceRegenerateTableNamePostfix(boolean forceRegenerateTableNamePostfix)
      ストレージスペース名が同一の場合に、強制的なテーブル名接尾辞の再生成を実施するかを設定する。

      本フラグを設定することで、エンティティ定義更新時にテーブルスペース位置(tableNamePostfix)に変更が入る。 ストレージスペース移行を実施する際に設定することを想定しており、業務アプリから設定してはいけない。

      パラメータ:
      forceRegenerateTableNamePostfix - true の場合、ストレージスペース名が同一の場合でも強制的にテーブル名接尾辞を再生成する
      関連項目:
    • inited

      public void inited(StoreService service, Config config)
      インタフェースからコピーされた説明: ServiceInitListener
      Service初期化時に呼び出されます。
      パラメータ:
      service -
      config -
    • destroyed

      public void destroyed()
      インタフェースからコピーされた説明: ServiceInitListener
      Service破棄時に呼び出されます。
    • newEntityStoreInstance

      public MetaEntityStore newEntityStoreInstance()
      定義:
      newEntityStoreInstance クラス内 DataStore
    • getEntityStoreType

      public Class<? extends MetaEntityStore> getEntityStoreType()
      定義:
      getEntityStoreType クラス内 DataStore
    • getStorageSpaceList

      public List<String> getStorageSpaceList()
      定義:
      getStorageSpaceList クラス内 RdbDataStore
    • getStorageSpaceMapOrDefault

      public StorageSpaceMap getStorageSpaceMapOrDefault(String name)
    • getStorageSpaceMapOrDefault

      public StorageSpaceMap getStorageSpaceMapOrDefault(MetaSchemalessRdbStoreMapping metaMapping)
    • stringPropertyStoreMaxLength

      public int stringPropertyStoreMaxLength(MetaStoreMapping metaStoreMapping)
      定義:
      stringPropertyStoreMaxLength クラス内 DataStore