public class TimestreamMeta extends Object
TimestreamIdentifier: Unique identifier for the timeline.
2. updateTime (update time): The update time of the timeline, which is automatically updated by the backend when data is written.
3. attributes: Mutable attributes of the timeline; changes to these attributes do not affect the confirmation of the timeline.| 构造器和说明 |
|---|
TimestreamMeta(TimestreamIdentifier identifier) |
public TimestreamMeta(TimestreamIdentifier identifier)
protected static TimestreamMeta newInstance(Row row)
public TimestreamIdentifier getIdentifier()
public TimestreamMeta setUpdateTime(long timestamp, TimeUnit unit)
public long getUpdateTimeInUsec()
public TimestreamMeta setAttributes(TreeMap<String,ColumnValue> attributes)
attributes - public TimestreamMeta addAttribute(String name, ColumnValue value)
public TimestreamMeta addAttribute(String name, Location value)
public TimestreamMeta addAttribute(String name, String value)
name - value - public TimestreamMeta addAttribute(String name, long value)
name - value - public TimestreamMeta addAttribute(String name, byte[] value)
name - value - public TimestreamMeta addAttribute(String name, double value)
name - value - public TimestreamMeta addAttribute(String name, boolean value)
name - value - public Map<String,ColumnValue> getAttributes()
public long getAttributeAsLong(String name)
public byte[] getAttributeAsBinary(String name)
public double getAttributeAsDouble(String name)
public boolean getAttributeAsBoolean(String name)
Copyright © 2025. All Rights Reserved.