Class ExtensionGraphMetadataTable
java.lang.Object
com.djrapitops.plan.storage.database.sql.tables.extension.graph.ExtensionGraphMetadataTable
Represents plan_extension_graph_metadata table.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionaddColumnsStatements(String pluginName, String methodName, int columnCount, int newColumnCount) static StringcreateGraphTableSQL(DBType dbType, String pluginName, String methodName, ExtensionGraphMetadataTable.TableType type) static StringcreateTableSQL(DBType dbType) static @NotNull StringgetTableName(String pluginName, String methodName) static StringinsertToGraphTableSql(String pluginName, String methodName, int columnCount, ExtensionGraphMetadataTable.TableType type) static StringselectFromGraphTableSql(String graphTableName, ExtensionGraphMetadataTable.TableType type) static StringselectXValuesSql(String pluginName, String providerName, ExtensionGraphMetadataTable.TableType type) static StringupdateGraphTableSql(String pluginName, String methodName, int columnCount, ExtensionGraphMetadataTable.TableType type)
-
Field Details
-
TABLE_NAME
- See Also:
-
ID
- See Also:
-
PROVIDER_ID
- See Also:
-
TAB_ID
- See Also:
-
SUPPORTS_STACKING
- See Also:
-
X_AXIS_TYPE
- See Also:
-
Y_AXIS_SOFT_MAX
- See Also:
-
Y_AXIS_SOFT_MIN
- See Also:
-
X_AXIS_SOFT_MAX
- See Also:
-
X_AXIS_SOFT_MIN
- See Also:
-
GRAPH_TABLE_NAME
- See Also:
-
COLUMN_COUNT
- See Also:
-
TABLE_TYPE
- See Also:
-
INSERT_STATEMENT
- See Also:
-
UPDATE_STATEMENT
- See Also:
-
STATEMENT_SELECT_COLUMN_COUNT
- See Also:
-
UPDATE_COLUMN_COUNT_STATEMENT
- See Also:
-
-
Method Details
-
createTableSQL
-
createGraphTableSQL
public static String createGraphTableSQL(DBType dbType, String pluginName, String methodName, ExtensionGraphMetadataTable.TableType type) -
getTableName
-
addColumnsStatements
-
insertToGraphTableSql
public static String insertToGraphTableSql(String pluginName, String methodName, int columnCount, ExtensionGraphMetadataTable.TableType type) -
updateGraphTableSql
public static String updateGraphTableSql(String pluginName, String methodName, int columnCount, ExtensionGraphMetadataTable.TableType type) -
selectFromGraphTableSql
public static String selectFromGraphTableSql(String graphTableName, ExtensionGraphMetadataTable.TableType type) -
selectXValuesSql
public static String selectXValuesSql(String pluginName, String providerName, ExtensionGraphMetadataTable.TableType type)
-