diff --git a/src/Explorer/Panes/Tables/Validators/EntityTableHelper.tsx b/src/Explorer/Panes/Tables/Validators/EntityTableHelper.tsx index 7a7878108..92de89b80 100644 --- a/src/Explorer/Panes/Tables/Validators/EntityTableHelper.tsx +++ b/src/Explorer/Panes/Tables/Validators/EntityTableHelper.tsx @@ -35,6 +35,60 @@ const { Smallint, Tinyint, Timestamp, + // List + List_Ascii, + List_Bigint, + List_Blob, + List_Boolean, + List_Date, + List_Decimal, + List_Double, + List_Float, + List_Int, + List_Text, + List_Timestamp, + List_Uuid, + List_Varchar, + List_Varint, + List_Inet, + List_Smallint, + List_Tinyint, + // Map + Map_Ascii, + Map_Bigint, + Map_Blob, + Map_Boolean, + Map_Date, + Map_Decimal, + Map_Double, + Map_Float, + Map_Int, + Map_Text, + Map_Timestamp, + Map_Uuid, + Map_Varchar, + Map_Varint, + Map_Inet, + Map_Smallint, + Map_Tinyint, + // Set + Set_Ascii, + Set_Bigint, + Set_Blob, + Set_Boolean, + Set_Date, + Set_Decimal, + Set_Double, + Set_Float, + Set_Int, + Set_Text, + Set_Timestamp, + Set_Uuid, + Set_Varchar, + Set_Varint, + Set_Inet, + Set_Smallint, + Set_Tinyint, } = TableConstants.CassandraType; export const cassandraOptions = [ { key: Text, text: Text }, @@ -54,6 +108,60 @@ export const cassandraOptions = [ { key: Smallint, text: Smallint }, { key: Tinyint, text: Tinyint }, { key: Timestamp, text: Timestamp }, + // List + { key: List_Ascii, text: List_Ascii }, + { key: List_Bigint, text: List_Bigint }, + { key: List_Blob, text: List_Blob }, + { key: List_Boolean, text: List_Boolean }, + { key: List_Date, text: List_Date }, + { key: List_Decimal, text: List_Decimal }, + { key: List_Double, text: List_Double }, + { key: List_Float, text: List_Float }, + { key: List_Int, text: List_Int }, + { key: List_Text, text: List_Text }, + { key: List_Timestamp, text: List_Timestamp }, + { key: List_Uuid, text: List_Uuid }, + { key: List_Varchar, text: List_Varchar }, + { key: List_Varint, text: List_Varint }, + { key: List_Inet, text: List_Inet }, + { key: List_Smallint, text: List_Smallint }, + { key: List_Tinyint, text: List_Tinyint }, + // Map + { key: Map_Ascii, text: Map_Ascii }, + { key: Map_Bigint, text: Map_Bigint }, + { key: Map_Blob, text: Map_Blob }, + { key: Map_Boolean, text: Map_Boolean }, + { key: Map_Date, text: Map_Date }, + { key: Map_Decimal, text: Map_Decimal }, + { key: Map_Double, text: Map_Double }, + { key: Map_Float, text: Map_Float }, + { key: Map_Int, text: Map_Int }, + { key: Map_Text, text: Map_Text }, + { key: Map_Timestamp, text: Map_Timestamp }, + { key: Map_Uuid, text: Map_Uuid }, + { key: Map_Varchar, text: Map_Varchar }, + { key: Map_Varint, text: Map_Varint }, + { key: Map_Inet, text: Map_Inet }, + { key: Map_Smallint, text: Map_Smallint }, + { key: Map_Tinyint, text: Map_Tinyint }, + // Set + { key: Set_Ascii, text: Set_Ascii }, + { key: Set_Bigint, text: Set_Bigint }, + { key: Set_Blob, text: Set_Blob }, + { key: Set_Boolean, text: Set_Boolean }, + { key: Set_Date, text: Set_Date }, + { key: Set_Decimal, text: Set_Decimal }, + { key: Set_Double, text: Set_Double }, + { key: Set_Float, text: Set_Float }, + { key: Set_Int, text: Set_Int }, + { key: Set_Text, text: Set_Text }, + { key: Set_Timestamp, text: Set_Timestamp }, + { key: Set_Uuid, text: Set_Uuid }, + { key: Set_Varchar, text: Set_Varchar }, + { key: Set_Varint, text: Set_Varint }, + { key: Set_Inet, text: Set_Inet }, + { key: Set_Smallint, text: Set_Smallint }, + { key: Set_Tinyint, text: Set_Tinyint }, ]; export const imageProps: IImageProps = { diff --git a/src/Explorer/Tables/Constants.ts b/src/Explorer/Tables/Constants.ts index 7a2aa15e1..76c050f5d 100644 --- a/src/Explorer/Tables/Constants.ts +++ b/src/Explorer/Tables/Constants.ts @@ -27,6 +27,60 @@ export const CassandraType = { Inet: "Inet", Smallint: "Smallint", Tinyint: "Tinyint", + + List_Ascii: "List", + List_Bigint: "List", + List_Blob: "List", + List_Boolean: "List", + List_Date: "List", + List_Decimal: "List", + List_Double: "List", + List_Float: "List", + List_Int: "List", + List_Text: "List", + List_Timestamp: "List", + List_Uuid: "List", + List_Varchar: "List", + List_Varint: "List", + List_Inet: "List", + List_Smallint: "List", + List_Tinyint: "List", + + Map_Ascii: "Map", + Map_Bigint: "Map", + Map_Blob: "Map", + Map_Boolean: "Map", + Map_Date: "Map", + Map_Decimal: "Map", + Map_Double: "Map", + Map_Float: "Map", + Map_Int: "Map", + Map_Text: "Map", + Map_Timestamp: "Map", + Map_Uuid: "Map", + Map_Varchar: "Map", + Map_Varint: "Map", + Map_Inet: "Map", + Map_Smallint: "Map", + Map_Tinyint: "Map", + + Set_Ascii: "Set", + Set_Bigint: "Set", + Set_Blob: "Set", + Set_Boolean: "Set", + Set_Date: "Set", + Set_Decimal: "Set", + Set_Double: "Set", + Set_Float: "Set", + Set_Int: "Set", + Set_Text: "Set", + Set_Timestamp: "Set", + Set_Uuid: "Set", + Set_Varchar: "Set", + Set_Varint: "Set", + Set_Inet: "Set", + Set_Smallint: "Set", + Set_Tinyint: "Set", }; export const ClauseRule = {