Class QueryEntityEx

    • Constructor Detail

      • QueryEntityEx

        public QueryEntityEx()
        Default constructor.
      • QueryEntityEx

        public QueryEntityEx​(QueryEntity other)
        Copying constructor.
        Parameters:
        other - Instance to copy.
    • Method Detail

      • getNotNullFields

        @Nullable
        public @Nullable Set<String> getNotNullFields()
        Gets names of fields that must be checked for null.
        Overrides:
        getNotNullFields in class QueryEntity
        Returns:
        Set of names of fields that must have non-null values.
      • setNotNullFields

        public QueryEntity setNotNullFields​(@Nullable
                                            @Nullable Set<String> notNullFields)
        Sets names of fields that must checked for null.
        Overrides:
        setNotNullFields in class QueryEntity
        Parameters:
        notNullFields - Set of names of fields that must have non-null values.
        Returns:
        this for chaining.
      • isPreserveKeysOrder

        public boolean isPreserveKeysOrder()
        Returns:
        true if order should be preserved, false otherwise.
      • setPreserveKeysOrder

        public QueryEntity setPreserveKeysOrder​(boolean preserveKeysOrder)
        Parameters:
        preserveKeysOrder - Whether the order should be preserved or not.
        Returns:
        this for chaining.
      • implicitPk

        public boolean implicitPk()
      • implicitPk

        public QueryEntity implicitPk​(boolean implicitPk)
      • fillAbsentPKsWithDefaults

        public boolean fillAbsentPKsWithDefaults()
        Returns:
        true if absent PK parts should be filled with defaults, false otherwise.
      • fillAbsentPKsWithDefaults

        public QueryEntity fillAbsentPKsWithDefaults​(boolean fillAbsentPKsWithDefaults)
        Parameters:
        fillAbsentPKsWithDefaults - Whether absent PK parts should be filled with defaults or not.
        Returns:
        this for chaining.
      • getPrimaryKeyInlineSize

        public Integer getPrimaryKeyInlineSize()
        Returns INLINE_SIZE for PK index.
        Returns:
        INLINE_SIZE for PK index.
      • setPrimaryKeyInlineSize

        public QueryEntity setPrimaryKeyInlineSize​(Integer pkInlineSize)
        Sets INLINE_SIZE for PK index.
        Parameters:
        pkInlineSize - INLINE_SIZE for PK index, when null - inline size is calculated automativally.
        Returns:
        this for chaining.
      • getAffinityKeyInlineSize

        public Integer getAffinityKeyInlineSize()
        Returns INLINE_SIZE for affinity field index.
        Returns:
        INLINE_SIZE for affinity field index.
      • setAffinityKeyInlineSize

        public QueryEntity setAffinityKeyInlineSize​(Integer affKeyInlineSize)
        Sets INLINE_SIZE for AFFINITY_KEY index.
        Parameters:
        affKeyInlineSize - INLINE_SIZE for AFFINITY_KEY index, when null - inline size is calculated automativally.
        Returns:
        this for chaining.