Max length of varchar / text in cassandra

2019-08-12 16:05发布

I am trying to find the answer to a simple question. Let say I have a table which I store content in it. The content is just a string. I am trying to find what is my max length for this specific one? I was reading that "text" type is just an alias to varchar. Is varchar length only 255 or it can be more?

1条回答
霸刀☆藐视天下
2楼-- · 2019-08-12 16:27

You can use TEXT column in your database ( about 64KB characters).

As you know String in java has 2^31-1 characters

查看更多
登录 后发表回答