Package org.caffinitas.mapper.core.codec

Examples of org.caffinitas.mapper.core.codec.Retriever


            return null;
        }

        ByteBuffer compValue = (ByteBuffer) o;

        Retriever udtRetriever = new CompositeRetriever(session.persistenceManager.protocolVersion, compValue, allColumns);

        Object inst = session.persistenceManager.objectFactory.newInstance(javaType);
        for (MappedAttribute attribute : allAttributes) {
            attribute.fromRow(session, rootInstance, inst, udtRetriever);
        }
View Full Code Here


            return null;
        }

        CUDTValue udtValue = (CUDTValue) o;

        Retriever udtRetriever = new CUDTRetriever(udtValue, allColumns);

        Object inst = session.persistenceManager.objectFactory.newInstance(javaType);
        for (MappedAttribute attribute : allAttributes) {
            attribute.fromRow(session, rootInstance, inst, udtRetriever);
        }
View Full Code Here

        }

        ResultSet resultSet = session.execute(bStmt);
        Row row = resultSet.one();
        if (row != null) {
            Retriever retriever = new GettableRetriever(persistenceSession.persistenceManager.protocolVersion, row, loadColumns);
            for (MappedAttribute attr : attrs) {
                Object instance = resolveParentInstance(container, attr);
                if (LOGGER.isDebugEnabled()) {
                    LOGGER.debug("Applying attribute {} to {} for {}", attr.name, instance.getClass(), type);
                }
View Full Code Here

        }

        ResultSet resultSet = session.execute(bStmt);
        Row row = resultSet.one();
        if (row != null) {
            Retriever retriever = new GettableRetriever(persistenceSession.persistenceManager.protocolVersion, row, loadColumns);
            for (MappedAttribute attr : attrs) {
                Object instance = resolveParentInstance(container, attr);
                if (LOGGER.isDebugEnabled()) {
                    LOGGER.debug("Applying attribute {} to {} for {}", attr.name, instance.getClass(), type);
                }
View Full Code Here

            return null;
        }

        ByteBuffer compValue = (ByteBuffer) o;

        Retriever udtRetriever = new TupleRetriever(session.persistenceManager.protocolVersion, compValue, allColumns);

        Object inst = session.persistenceManager.objectFactory.newInstance(javaType);
        for (MappedAttribute attribute : allAttributes) {
            attribute.fromRow(session, rootInstance, inst, udtRetriever);
        }
View Full Code Here

TOP

Related Classes of org.caffinitas.mapper.core.codec.Retriever

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.