public class TimeseriesTableMeta extends Object implements Jsonizable
| 构造器和说明 |
|---|
TimeseriesTableMeta(String timeseriesTableName)
Create a new
TableMeta instance with the given table name. |
TimeseriesTableMeta(String timeseriesTableName,
TimeseriesTableOptions timeseriesTableOptions) |
TimeseriesTableMeta(String timeseriesTableName,
TimeseriesTableOptions timeseriesTableOptions,
String status) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFieldPrimaryKey(String name,
PrimaryKeyType type) |
void |
addTimeseriesKey(String primaryKey) |
List<PrimaryKeySchema> |
getFieldPrimaryKeys()
Returns the extended primary key column.
|
String |
getStatus()
Returns the table configuration.
|
List<String> |
getTimeseriesKeys() |
TimeseriesMetaOptions |
getTimeseriesMetaOptions() |
String |
getTimeseriesTableName()
Returns the name of the table.
|
TimeseriesTableOptions |
getTimeseriesTableOptions()
Returns the table configuration.
|
String |
jsonize() |
void |
jsonize(StringBuilder sb,
String newline) |
void |
setStatus(String status)
Set the table configuration parameters.
|
void |
setTimeseriesMetaOptions(TimeseriesMetaOptions timeseriesMetaOptions) |
void |
setTimeseriesTableName(String timeseriesTableName)
Sets the name of the table.
|
void |
setTimeseriesTableOptions(TimeseriesTableOptions timeseriesTableOptions)
Set the table configuration parameters.
|
String |
toString() |
public TimeseriesTableMeta(String timeseriesTableName)
TableMeta instance with the given table name.timeseriesTableName - The name of the table.public TimeseriesTableMeta(String timeseriesTableName, TimeseriesTableOptions timeseriesTableOptions)
public TimeseriesTableMeta(String timeseriesTableName, TimeseriesTableOptions timeseriesTableOptions, String status)
public void setTimeseriesTableName(String timeseriesTableName)
timeseriesTableName - The name of the table.public String getTimeseriesTableName()
public void setTimeseriesTableOptions(TimeseriesTableOptions timeseriesTableOptions)
timeseriesTableOptions - The table configuration.public TimeseriesTableOptions getTimeseriesTableOptions()
public TimeseriesMetaOptions getTimeseriesMetaOptions()
public void setTimeseriesMetaOptions(TimeseriesMetaOptions timeseriesMetaOptions)
public void setStatus(String status)
status - The table configuration.public String getStatus()
public void addTimeseriesKey(String primaryKey)
public void addFieldPrimaryKey(String name, PrimaryKeyType type)
public List<PrimaryKeySchema> getFieldPrimaryKeys()
public String jsonize()
jsonize 在接口中 Jsonizablepublic void jsonize(StringBuilder sb, String newline)
jsonize 在接口中 JsonizableCopyright © 2025. All Rights Reserved.