Class EntityAwareAttributeDescriptor.Wildcard<T>

    • Method Detail

      • upsert

        public StreamElement upsert​(java.lang.String uuid,
                                    java.lang.String key,
                                    java.lang.String attribute,
                                    long stamp,
                                    T value)
        Create upsert update to wildcard attribute.
        Parameters:
        uuid - UUID of the upsert
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        value - the value to write
        Returns:
        the upsert StreamElement
      • upsert

        public StreamElement upsert​(long sequentialId,
                                    java.lang.String key,
                                    java.lang.String attribute,
                                    long stamp,
                                    T value)
        Create upsert update to wildcard attribute.
        Parameters:
        sequentialId - sequential ID of the upsert
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        value - the value to write
        Returns:
        the upsert StreamElement
      • upsert

        public StreamElement upsert​(java.lang.String uuid,
                                    java.lang.String key,
                                    java.lang.String attribute,
                                    java.time.Instant stamp,
                                    T value)
        Create upsert update to wildcard attribute.
        Parameters:
        uuid - UUID of the upsert
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        value - the value to write
        Returns:
        the upsert StreamElement
      • upsert

        public StreamElement upsert​(java.lang.String key,
                                    java.lang.String attribute,
                                    long stamp,
                                    T value)
        Create upsert update to wildcard attribute. UUID is autogenerated.
        Parameters:
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        value - the value to write
        Returns:
        the upsert StreamElement
      • upsert

        public StreamElement upsert​(java.lang.String key,
                                    java.lang.String attribute,
                                    java.time.Instant stamp,
                                    T value)
        Create upsert update to wildcard attribute. UUID is autogenerated.
        Parameters:
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        value - the value to write
        Returns:
        the upsert StreamElement
      • delete

        public StreamElement delete​(java.lang.String uuid,
                                    java.lang.String key,
                                    java.lang.String attribute,
                                    long stamp)
        Create delete for wildcard attribute.
        Parameters:
        uuid - UUID of the delete
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        Returns:
        the delete StreamElement
      • delete

        public StreamElement delete​(long sequentialId,
                                    java.lang.String key,
                                    java.lang.String attribute,
                                    long stamp)
        Create delete for wildcard attribute.
        Parameters:
        sequentialId - sequential ID of the delete
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        Returns:
        the delete StreamElement
      • delete

        public StreamElement delete​(java.lang.String uuid,
                                    java.lang.String key,
                                    java.lang.String attribute,
                                    java.time.Instant stamp)
        Create delete for wildcard attribute.
        Parameters:
        uuid - UUID of the delete
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        Returns:
        the delete StreamElement
      • delete

        public StreamElement delete​(java.lang.String key,
                                    java.lang.String attribute,
                                    long stamp)
        Create delete for wildcard attribute. UUID is autogenerated.
        Parameters:
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        Returns:
        the delete StreamElement
      • delete

        public StreamElement delete​(java.lang.String key,
                                    java.lang.String attribute,
                                    java.time.Instant stamp)
        Create delete for wildcard attribute. UUID is autogenerated.
        Parameters:
        key - key of the upsert
        attribute - the attribute (only the suffix part)
        stamp - timestamp
        Returns:
        the delete StreamElement
      • deleteWildcard

        public StreamElement deleteWildcard​(java.lang.String uuid,
                                            java.lang.String key,
                                            long stamp)
        Delete wildcard attribute (all versions).
        Parameters:
        uuid - UUID of the delete
        key - key of the upsert
        stamp - timestamp
        Returns:
        the delete StreamElement
      • deleteWildcard

        public StreamElement deleteWildcard​(long sequentialId,
                                            java.lang.String key,
                                            long stamp)
        Delete wildcard attribute (all versions).
        Parameters:
        sequentialId - sequential ID of the delete
        key - key of the upsert
        stamp - timestamp
        Returns:
        the delete StreamElement
      • deleteWildcard

        public StreamElement deleteWildcard​(java.lang.String uuid,
                                            java.lang.String key,
                                            java.time.Instant stamp)
        Delete wildcard attribute (all versions).
        Parameters:
        uuid - UUID of the delete
        key - key of the upsert
        stamp - timestamp
        Returns:
        the delete StreamElement
      • deleteWildcard

        public StreamElement deleteWildcard​(java.lang.String key,
                                            long stamp)
        Delete wildcard attribute (all versions). UUID is autogenerated.
        Parameters:
        key - key of the upsert
        stamp - timestamp
        Returns:
        the delete StreamElement
      • deleteWildcard

        public StreamElement deleteWildcard​(java.lang.String key,
                                            java.time.Instant stamp)
        Delete wildcard attribute (all versions). UUID is autogenerated.
        Parameters:
        key - key of the upsert
        stamp - timestamp
        Returns:
        the delete StreamElement
      • extractSuffix

        public java.lang.String extractSuffix​(java.lang.String attribute)
        Parse given attribute name (prefix.suffix) to suffix only.
        Parameters:
        attribute - complete name of attribute
        Returns:
        the suffix part