Class DocumentNode

    • Constructor Detail

      • DocumentNode

        public DocumentNode()
      • DocumentNode

        public DocumentNode​(Table table,
                            GroupSymbol gs,
                            org.apache.olingo.commons.api.edm.EdmEntityType type)
    • Method Detail

      • build

        public static DocumentNode build​(org.apache.olingo.commons.api.edm.EdmEntityType type,
                                         List<org.apache.olingo.server.api.uri.UriParameter> keyPredicates,
                                         MetadataStore metadata,
                                         org.apache.olingo.server.api.OData odata,
                                         org.teiid.olingo.service.TeiidServiceHandler.UniqueNameGenerator nameGenerator,
                                         boolean useAlias,
                                         org.apache.olingo.server.api.uri.UriInfo uriInfo,
                                         org.teiid.olingo.service.ODataSQLBuilder.URLParseService parseService)
                                  throws TeiidException
        Throws:
        TeiidException
      • build

        public static DocumentNode build​(DocumentNode resource,
                                         org.apache.olingo.commons.api.edm.EdmEntityType type,
                                         List<org.apache.olingo.server.api.uri.UriParameter> keyPredicates,
                                         MetadataStore metadata,
                                         org.apache.olingo.server.api.OData odata,
                                         org.teiid.olingo.service.TeiidServiceHandler.UniqueNameGenerator nameGenerator,
                                         boolean useAlias,
                                         org.apache.olingo.server.api.uri.UriInfo uriInfo,
                                         org.teiid.olingo.service.ODataSQLBuilder.URLParseService parseService)
                                  throws TeiidException
        Throws:
        TeiidException
      • getName

        public String getName()
      • getFullName

        public String getFullName()
      • getEdmStructuredType

        public org.apache.olingo.commons.api.edm.EdmStructuredType getEdmStructuredType()
      • getFromClause

        public FromClause getFromClause()
      • setFromClause

        public void setFromClause​(FromClause fromClause)
      • getCriteria

        public Criteria getCriteria()
      • setCriteria

        public void setCriteria​(Criteria criteria)
      • setTable

        public void setTable​(Table table)
      • setGroupSymbol

        public void setGroupSymbol​(GroupSymbol groupSymbol)
      • setEdmStructuredType

        public void setEdmStructuredType​(org.apache.olingo.commons.api.edm.EdmStructuredType edmStructuredType)
      • addAllColumns

        protected void addAllColumns​(boolean onlyPK)
      • addProjectedColumn

        protected void addProjectedColumn​(String columnName,
                                          Expression expr)
      • addProjectedColumn

        protected ProjectedColumn addProjectedColumn​(Expression expr,
                                                     org.apache.olingo.commons.api.edm.EdmType type,
                                                     org.apache.olingo.commons.api.edm.EdmProperty property,
                                                     boolean collection)
      • getKeyPredicates

        public List<org.apache.olingo.server.api.uri.UriParameter> getKeyPredicates()
      • getKeyColumnNames

        public List<String> getKeyColumnNames()
      • setKeyPredicates

        public void setKeyPredicates​(List<org.apache.olingo.server.api.uri.UriParameter> keyPredicates)
      • addSibling

        public void addSibling​(DocumentNode resource)
      • buildQuery

        public Query buildQuery()
      • addCriteria

        public void addCriteria​(Expression filter)
      • setIterator

        public void setIterator​(DocumentNode itResource)