case class QuerySpec(select: Seq[String] = Nil, filter: Option[String] = None, orderBy: Seq[String] = Nil, includeCount: Boolean = false, expand: Seq[Expand] = Nil, top: Option[Int] = None, skip: Option[Int] = None, fetchXml: Option[String] = None, savedQuery: Option[String] = None, userQuery: Option[String] = None, cast: Option[String] = None, properties: Seq[NavProperty] = Nil) extends QueryParts with Product with Serializable
Very crude query spec. This still requires knowledge of the REST URL format. Can expand multiple so Option[Expand] should be Seq[Expand]. QuerySpec contains everything you need for generating a URL except! the first navigation property. "cast" applies to that first navigation property when you render it.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- QuerySpec
- Serializable
- Serializable
- Product
- Equals
- QueryParts
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new QuerySpec(select: Seq[String] = Nil, filter: Option[String] = None, orderBy: Seq[String] = Nil, includeCount: Boolean = false, expand: Seq[Expand] = Nil, top: Option[Int] = None, skip: Option[Int] = None, fetchXml: Option[String] = None, savedQuery: Option[String] = None, userQuery: Option[String] = None, cast: Option[String] = None, properties: Seq[NavProperty] = Nil)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cast: Option[String]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expand: Seq[Expand]
- val fetchXml: Option[String]
-
val
filter: Option[String]
- Definition Classes
- QuerySpec → QueryParts
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val includeCount: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
orderBy: Seq[String]
- Definition Classes
- QuerySpec → QueryParts
- val properties: Seq[NavProperty]
- val savedQuery: Option[String]
-
val
select: Seq[String]
- Definition Classes
- QuerySpec → QueryParts
- val skip: Option[Int]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
top: Option[Int]
- Definition Classes
- QuerySpec → QueryParts
- val userQuery: Option[String]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withExpand(e: Expand): QuerySpec
Add an Expand.
- def withNav(p: NavProperty): QuerySpec
- def withOrderBy(by: String): QuerySpec