Any attempts to interact with the schema will throw an exception.
For example the historical map data type uses this as follows:
Map<ByteString,List<Struct>>historicalMap=resultSet.getMap("cf",SqlType.mapOf(SqlType.bytes(),SqlType.arrayOf(SqlType.struct())));Structstruct=historicalMap.get("column").get(0);// Struct schema will be validated here so there's no need for users to pass the schema to getMap aboveByteStringvalue=struct.getBytes("value");
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]