Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-8782

Not able to JAVA class custom data type from cql

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      windows, cassandra 2.x

      Description

      I am trying to use custom defined data type in java in cql, but i am getting an error
      < ErrorMessage code=2000 [Syntax error in CQL query] message = "Error setting type cqltypes.UnitedStatesState: Unable to find abstract-type class 'cqltypes.UnitedStatesState' " >>

      Not sure why it is not able to custom class

        Attachments

        1. UnitedStatesStateSerializer.java
          2 kB
          Rahul Kumar
        2. UnitedStatesState.java
          2 kB
          Rahul Kumar
        3. State.java
          3 kB
          Rahul Kumar

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rahul202 Rahul Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: