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

Not able to JAVA class custom data type from cql

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Not A Problem
    • None
    • None
    • windows, cassandra 2.x

    • Normal

    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. State.java
          3 kB
          Rahul Kumar
        2. UnitedStatesState.java
          2 kB
          Rahul Kumar
        3. UnitedStatesStateSerializer.java
          2 kB
          Rahul Kumar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: