GigaSpaces XAP 9.7.2 API

org.openspaces.persistency.cassandra.meta.mapping.node
Class CassandraDocumentObjectConverter

java.lang.Object
  extended by com.gigaspaces.document.DocumentObjectConverter
      extended by org.openspaces.persistency.cassandra.meta.mapping.node.CassandraDocumentObjectConverter

public class CassandraDocumentObjectConverter
extends com.gigaspaces.document.DocumentObjectConverter

A DocumentObjectConverter that does not fail if a type is missing during conversion. Instead, it will return the original document.

Since:
9.1.1
Author:
Dan Kilman

Constructor Summary
CassandraDocumentObjectConverter()
           
 
Method Summary
 Object fromDocumentIfNeeded(Object object, com.gigaspaces.metadata.SpaceDocumentSupport documentSupport, Class<?> expectedType)
           
 
Methods inherited from class com.gigaspaces.document.DocumentObjectConverter
instance, toDocumentIfNeeded, toObject, toSpaceDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CassandraDocumentObjectConverter

public CassandraDocumentObjectConverter()
Method Detail

fromDocumentIfNeeded

public Object fromDocumentIfNeeded(Object object,
                                   com.gigaspaces.metadata.SpaceDocumentSupport documentSupport,
                                   Class<?> expectedType)
Overrides:
fromDocumentIfNeeded in class com.gigaspaces.document.DocumentObjectConverter

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.