Package org.apache.pinot.spi.config
Class TableConfigs
- java.lang.Object
-
- org.apache.pinot.spi.config.BaseJsonConfig
-
- org.apache.pinot.spi.config.TableConfigs
-
- All Implemented Interfaces:
Serializable
public class TableConfigs extends BaseJsonConfig
Wrapper for all configs of a table, which include the offline table config, realtime table config and schema. This helps look at and operate on the pinot table configs as a whole unit.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableConfigs(String tableName, Schema schema, TableConfig offline, TableConfig realtime)
-
Method Summary
Modifier and Type Method Description TableConfiggetOffline()TableConfiggetRealtime()SchemagetSchema()StringgetTableName()StringtoJsonString()StringtoPrettyJsonString()-
Methods inherited from class org.apache.pinot.spi.config.BaseJsonConfig
equals, hashCode, toJsonNode, toString
-
-
-
-
Constructor Detail
-
TableConfigs
public TableConfigs(String tableName, Schema schema, @Nullable TableConfig offline, @Nullable TableConfig realtime)
-
-
Method Detail
-
getTableName
public String getTableName()
-
getSchema
public Schema getSchema()
-
getOffline
@Nullable public TableConfig getOffline()
-
getRealtime
@Nullable public TableConfig getRealtime()
-
toJsonString
public String toJsonString()
- Overrides:
toJsonStringin classBaseJsonConfig
-
toPrettyJsonString
public String toPrettyJsonString()
-
-