alias

Cassandra::DBApi::Primitive

These types that can be supplied to queries as bound parameters without wrapping them with Cassandra::DBApi::Any. Example:

db.exec("insert into posts (id, title) values (?, ?)", 1, "A Post")

They are also returned as query results:

db.query("select id, title from posts") do |rs|
  rs.each do
    puts rs.read(Int32), rs.read(String)
  end
end