org.apache.storm.cassandra.query

## Class CqlMapper.DefaultCqlMapper

- java.lang.Object
- - org.apache.storm.cassandra.query.CqlMapper.DefaultCqlMapper

- All Implemented Interfaces:
    Serializable, CqlMapper
  Enclosing interface:
    CqlMapper

      public static final class CqlMapper.DefaultCqlMapper
      extends Object
      implements CqlMapper

  Default `CqlMapper` to map all tuple values to column.

  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.storm.cassandra.query.CqlMapper

      `CqlMapper.DefaultCqlMapper, CqlMapper.SelectableCqlMapper`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultCqlMapper()` Creates a new `CqlMapper.DefaultCqlMapper` instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Column>` | `map(ITuple tuple)` Maps the specified input tuple to a list of CQL columns.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultCqlMapper

          public DefaultCqlMapper()

      Creates a new `CqlMapper.DefaultCqlMapper` instance.

  - ### Method Detail

    - #### map

          public List<Column> map(ITuple tuple)

      Maps the specified input tuple to a list of CQL columns.

      Specified by:
        `map` in interface `CqlMapper`
      Parameters:
        `tuple` - the input tuple.
      Returns:
        the list of

Copyright © 2021 The Apache Software Foundation. All rights reserved.