Class DMTable

Object
DomainObject
PersistedObject
PartitionedObject
NamedObject
DMFieldCollection
DMGenericFieldCollection<DMTable>
DMTable
All Implemented Interfaces:
DMEntityMap.DMEntity, DMExpression.DMExpressionContext, JobNameProvider, Persistable

@Entity public class DMTable extends DMGenericFieldCollection<DMTable>
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from class DMFieldCollection Link icon

    DMFieldCollection.DMFCType

    Nested classes/interfaces inherited from class PersistedObject Link icon

    PersistedObject.BatchDelete, PersistedObject.BulkloadFilterCheckCallback, PersistedObject.ComputedFieldMapping, PersistedObject.ComputedFields, PersistedObject.ImportManagerEnabled, PersistedObject.PersistedObjectMeta, PersistedObject.VirtualField, PersistedObject.VirtualFieldMapping, PersistedObject.VirtualFields, PersistedObject.VirtualSearchFields, PersistedObject.VirtualSortFields
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class DMFieldCollection Link icon

    FIELD_ALERTS, FIELD_DELETED, FIELD_DETAILSAVAILABLE, FIELD_FORMULADETAILEDRESULTS, FIELD_FORMULANAME, FIELD_FORMULARESULT, FIELD_ISDEPLOYED, FIELD_QUERY, FIELD_SOURCENAME, FIELD_SOURCEQUERY, FIELD_WARNINGS, formulaName, IS_VALID_IDENTIFIER, isAuxiliary, isDeployed, isLocked, isValid, isView, lastUpdateByName, LOG_MARKER, MAX_NAME_LENGTH, queryDto, sourceFile, sourceQuery, sourceQueryJson, sourceSqlQuery, sourceSqlQueryJson, sQueryDto

    Fields inherited from class NamedObject Link icon

    FIELD_LABEL, FIELD_UNIQUENAME

    Fields inherited from class PartitionedObject Link icon

    FIELD_PARTITION, FIELD_PARTITIONID, PARTITION_FILTER_NAME, PARTITION_FILTER_PARAM

    Fields inherited from class PersistedObject Link icon

    FIELD_CREATEDATE, FIELD_CREATEDBY, FIELD_DELETEDATE, FIELD_DELETEDBY, FIELD_ID, FIELD_ISDELETED, FIELD_LASTUPDATEDATE

    Fields inherited from class DomainObject Link icon

    DEFAULT_MAX_PACKET_SIZE
  • Constructor Summary Link icon

    Constructors
    Modifier
    Constructor
    Description
    protected
     
     
    DMTable(String name, PartitionedObject owner, String label)
     
     
    DMTable(String name, PartitionedObject owner, DMFieldCollection template)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
     
    DMDataLoad
    getDefaultDataLoad(PersistedObjectService objService)
     
     
     
    DMFieldCollection.DMFCType
     
    boolean
     
    boolean
     
    void
    prepareAsDtoForUpdate(ValidationVisitor validationVisitor, PersistedObjectService objService)
     
    static Search
    searchForOwnedTableNames(PartitionedObject owner)
     
    void
    setColumnar(Boolean columnar)
     
    void
     
    static String
    uniqueName(String name, PartitionedObject owner)
     
    void
    update(DMTable tableDto)
     
    boolean
    validate(ValidationVisitor validationVisitor, boolean updateMode, PersistedObjectService objService)
     
    boolean
    validateForModelTablesContext(ValidationVisitor validationVisitor, PersistedObjectService objService)
     

    Methods inherited from class DMGenericFieldCollection Link icon

    addFieldDependenciesToGraph, buildAllFieldsDependencyGraph, canDelete, getDistributionField, getPartitioningField, isDistributed, isPartitioned, markDeployed, update, validateCircularDependencies, validateDistributionKey, validateFields, validateNotDistributed, validateNotPartitioned, validatePartitioningKey

    Methods inherited from class DMFieldCollection Link icon

    addCalculatedField, addDerivedSystemField, addErrorMessage, addErrorMessage, addField, addField, addField, addFormulaEvalFields, addFormulaFields, addSystemAuxField, addSystemAuxFields, addSystemField, addSystemField, asQuery, buildSearch, calculationDate, calculationStartDate, equals, getCalculationMessages, getDateSystemFields, getDbTable, getDefaultCalculationConfig, getErrorMessagesAsMap, getField, getFieldByDbColumn, getFieldByLabelIgnoreCase, getFieldByNameIgnoreCase, getFieldByNameOrLabelIgnoreCase, getFieldIndex, getFieldNames, getFields, getFields, getFlattenedDependencies, getForeignKeyFields, getFormulaEvalFields, getFormulaEvalFields, getFormulaName, getIndexableFields, getKeyFieldNames, getKeyFields, getLastDataModificationDate, getLastUpdateByName, getLoadableFields, getLocalFields, getMessages, getMinimalKeySet, getNumberOfFields, getNumberOfKeyFields, getPercentBasisField, getPerUnitBasisField, getPricingDateField, getQuantityField, getQueryDto, getReservedWords, getRowCount, getSourceField, getSourceFile, getSourceName, getSourceQuery, getSourceQueryJson, getSourceSqlQuery, getSourceSqlQueryJson, getStatus, getTargetDate, getVariable, getWarningMessagesAsMap, hasField, hasFields, hasFieldWithName, hashCode, hasSourceField, hasSourceQuery, hasSourceSqlQuery, initDefaultCalculable, initFieldCollectionFromQuery, initFromQuery, invalidateDMQueryCache, isAuxiliary, isDeployed, isLocked, isPublishedAuxSystemField, isReservedAuxSystemField, isReservedWord, isValid, isValidIdentifier, isValidLabel, isView, jsonDeserializeFromFile, jsonSerializeTofile, lastDataModificationDate, markInvalid, newCaseInsensitiveSet, newCaseInsensitiveSet, newFieldLabel, newFieldLabel, newFieldName, newFieldName, onDelete, onRefreshed, ownsField, removeAllFields, removeField, removeField, resetValidation, resolveExpression, setDbTable, setDefaultCalculable, setFields, setFormulaName, setIsAuxiliary, setIsDeployed, setIsLocked, setIsValid, setIsView, setLastDataModificationDate, setQueryDto, setReservedWords, setRowCount, setSourceFile, setSourceQuery, setSourceQueryJson, setSourceSqlQuery, setSourceSqlQueryJson, toLabel, toName, toString, toValidIdentifier, validate, validateBasicStringFieldLength, validateFieldCount

    Methods inherited from class NamedObject Link icon

    getJobName, getLabel, getLabelOrUniqueName, getSignificantFields, getUniqueName, labelValid, setLabel, setUniqueName, uniqueNameValid

    Methods inherited from class PartitionedObject Link icon

    addUniqueConstraint, getLoginNameByUserId, getPartition, setPartition

    Methods inherited from class PersistedObject Link icon

    auditOperation, bumpVersion, canAdd, canEdit, canEdit, canRead, createDate, doHardDelete, entityIsSafeInserted, entityIsSafeInserted, getBulkloadMap, getBusinessKey, getCreateDate, getCreatedBy, getDbColumnNameForField, getDefaultSortKey, getDeleteDate, getDeletedBy, getId, getLastUpdateBy, getLastUpdateDate, getTypeCode, getTypedId, getVersion, getVirtualSearchFieldMappings, getVirtualSortFieldMappings, isAudited, isDeleted, isVirtualSearchField, lastUpdateDate, notifyOnBusinessKeyChange, onBusinessKeyChange, onSavedOrUpdated, onSaveOrUpdate, setCreateDate, setCreateDateShouldBeIgnored, setCreateDateTime, setCreatedBy, setDeleted, setDeleteDate, setDeletedBy, setId, setLastUpdateBy, setLastUpdateDate, setLastUpdateDateTime, setTypedId, setVersion, userGroupEditBulkloadFilter, userGroupEditBulkloadFilter

    Methods inherited from class DomainObject Link icon

    deepCopy, getNewMidnightDate, getNewMidnightDateTime, isMidnight, isMidnight, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerializedSizeOK, jsonSerializeToBytes, jsonSerializeToBytes, setToDayEnd, setToDayEnd, setToMidnight, setToMidnight, setToMidnightAsLocalDateTime, toPropertyMap, truncatedToString

    Methods inherited from class Object Link icon

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface DMEntityMap.DMEntity Link icon

    getUniqueName, getVersion
  • Field Details Link icon

  • Constructor Details Link icon

    • DMTable Link icon

      protected DMTable()
    • DMTable Link icon

      public DMTable(String name, PartitionedObject owner, DMFieldCollection template)
    • DMTable Link icon

      public DMTable(String name, PartitionedObject owner, String label)
  • Method Details Link icon

    • uniqueName Link icon

      public static String uniqueName(String name, PartitionedObject owner)
    • searchForOwnedTableNames Link icon

      public static Search searchForOwnedTableNames(PartitionedObject owner)
    • getType Link icon

      public DMFieldCollection.DMFCType getType()
      Specified by:
      getType in class DMFieldCollection
    • getSourceName Link icon

      public String getSourceName()
    • isColumnar Link icon

      public boolean isColumnar()
      Specified by:
      isColumnar in interface DMEntityMap.DMEntity
      Overrides:
      isColumnar in class DMFieldCollection
    • setColumnar Link icon

      public void setColumnar(Boolean columnar)
    • copy Link icon

      public DMTable copy()
      Specified by:
      copy in class DMGenericFieldCollection<DMTable>
    • update Link icon

      public void update(DMTable tableDto)
      Overrides:
      update in class DMGenericFieldCollection<DMTable>
    • getOwner Link icon

      public String getOwner()
    • setOwner Link icon

      public void setOwner(String owner)
    • isQueryable Link icon

      public boolean isQueryable()
      Overrides:
      isQueryable in class DMFieldCollection
    • getDefaultDataLoad Link icon

      public DMDataLoad getDefaultDataLoad(PersistedObjectService objService)
      Specified by:
      getDefaultDataLoad in class DMFieldCollection
    • validate Link icon

      public boolean validate(ValidationVisitor validationVisitor, boolean updateMode, PersistedObjectService objService)
      Overrides:
      validate in class DMFieldCollection
    • validateForModelTablesContext Link icon

      public boolean validateForModelTablesContext(ValidationVisitor validationVisitor, PersistedObjectService objService)
    • prepareAsDtoForUpdate Link icon

      public void prepareAsDtoForUpdate(ValidationVisitor validationVisitor, PersistedObjectService objService)
      Overrides:
      prepareAsDtoForUpdate in class DMFieldCollection