Class SelectToMongodb

    • Constructor Detail

      • SelectToMongodb

        public SelectToMongodb​(AbstractParser<?> selectParser)
        Parameters:
        selectParser - AbstractParser of unknown type
    • Method Detail

      • getFinalOrderBy

        public org.bson.conversions.Bson getFinalOrderBy()
        FindIterable.sort(orderby) for MongoDb
        Returns:
        the orderBy MongoDB command
      • getSingleSelect

        public Select getSingleSelect()
        Returns:
        the Select Single
      • idWasInProjection

        public boolean idWasInProjection()
        Returns:
        True if #id was in the primary projection or empty projection
      • isScoreIncluded

        public boolean isScoreIncluded()
        Returns:
        True if the score is included, or false if explicitly excluded