org.apache.cayenne.access.select
Class SelectDescriptorBuilder

java.lang.Object
  extended by org.apache.cayenne.access.select.SelectDescriptorBuilder

public class SelectDescriptorBuilder
extends Object

A class used as a builder of SelectDescriptors of any complexity.

Since:
3.0

Constructor Summary
SelectDescriptorBuilder(ExtendedTypeMap extendedTypes)
           
 
Method Summary
 SelectDescriptor<?> fromQueryMetadata(QueryMetadata metadata)
           
protected  SelectDescriptor<Object> getEntitySegment(QueryMetadata metadata, EntityResultSegment segmentDescriptor, int position)
           
protected  SelectDescriptor<Object> getScalarSegment(List<Object> segmentDescriptors, int position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectDescriptorBuilder

public SelectDescriptorBuilder(ExtendedTypeMap extendedTypes)
Method Detail

fromQueryMetadata

public SelectDescriptor<?> fromQueryMetadata(QueryMetadata metadata)

getEntitySegment

protected SelectDescriptor<Object> getEntitySegment(QueryMetadata metadata,
                                                    EntityResultSegment segmentDescriptor,
                                                    int position)

getScalarSegment

protected SelectDescriptor<Object> getScalarSegment(List<Object> segmentDescriptors,
                                                    int position)


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.