Uses of Interface
org.basex.query.value.type.Type
Packages that use Type
Package
Description
Client sessions.
XQuery implementation.
XQuery expressions.
XQuery path expressions.
Query processor, list structures.
XQuery values.
-
Uses of Type in org.basex.api.client
Methods in org.basex.api.client that return TypeModifier and TypeMethodDescriptionfinal TypeQuery.type()Returns the XQuery type of the current item (must be called afterQuery.next(). -
Uses of Type in org.basex.query
Methods in org.basex.query with parameters of type TypeModifier and TypeMethodDescriptionstatic QueryExceptionThrows a type cast exception.static QueryExceptionQueryError.valueError(Type type, byte[] value, InputInfo ii) Throws an invalid value exception. -
Uses of Type in org.basex.query.expr
Methods in org.basex.query.expr that return TypeModifier and TypeMethodDescriptionstatic TypeReturns the numeric type with the highest precedence.abstract TypeReturns the result type of this calculation.Methods in org.basex.query.expr with parameters of type TypeModifier and TypeMethodDescriptionprotected final ItemParseExpr.checkNoEmpty(Item item, Type type) Checks if the specified item is no empty sequence.protected final ItemChecks if the specified expression is an empty sequence; if yes, throws an exception.static TypeReturns the numeric type with the highest precedence.protected final ItemParseExpr.toItem(Expr expr, QueryContext qc, Type type) Checks if the specified expression yields a non-empty item.abstract TypeReturns the result type of this calculation. -
Uses of Type in org.basex.query.expr.path
Methods in org.basex.query.expr.path with parameters of type TypeConstructors in org.basex.query.expr.path with parameters of type Type -
Uses of Type in org.basex.query.util.list
Methods in org.basex.query.util.list with parameters of type Type -
Uses of Type in org.basex.query.value
Fields in org.basex.query.value declared as TypeMethods in org.basex.query.value with parameters of type TypeModifier and TypeMethodDescriptionReturns aValuerepresentation of the items currently stored in this builder annotated with the given item type.Constructors in org.basex.query.value with parameters of type Type -
Uses of Type in org.basex.query.value.array
Methods in org.basex.query.value.array with parameters of type Type -
Uses of Type in org.basex.query.value.item
Methods in org.basex.query.value.item with parameters of type TypeModifier and TypeMethodDescriptionstatic IntReturns an instance of this class.booleanItem.instanceOf(Type tp) Checks if this item is instance of the specified type.Constructors in org.basex.query.value.item with parameters of type Type -
Uses of Type in org.basex.query.value.map
Methods in org.basex.query.value.map with parameters of type Type -
Uses of Type in org.basex.query.value.seq
Methods in org.basex.query.value.seq with parameters of type TypeModifier and TypeMethodDescriptionstatic ValueCreates a sequence with the specified items.static ValueCreates a sequence with the specified items.static ValueCreates a typed sequence with the items of the specified values.static ValueTries to create a typed sequence with the items of the specified values.Constructors in org.basex.query.value.seq with parameters of type Type -
Uses of Type in org.basex.query.value.seq.tree
Methods in org.basex.query.value.seq.tree with parameters of type Type -
Uses of Type in org.basex.query.value.type
Classes in org.basex.query.value.type that implement TypeModifier and TypeClassDescriptionfinal classType for arrays.enumXQuery atomic types.classXQuery 3.0 function types.enumXQuery list types.final classType for maps.enumXQuery node types.Fields in org.basex.query.value.type declared as TypeMethods in org.basex.query.value.type that return TypeModifier and TypeMethodDescriptionstatic TypeFinds and returns the specified function type.static TypeType.ID.getType(int id) Gets the specified type instance.final Typefinal Typefinal TypeComputes the intersection between this type and the given one, i.e.default TypeReturns the given type, or the type of the specified expression if it is more specific.final Typefinal Typefinal TypeComputes the union between this type and the given one, i.e.Methods in org.basex.query.value.type with parameters of type TypeModifier and TypeMethodDescriptionvoidAssigns the specified type.voidAssigns the specified type and occurrence indicator, updates the result size.booleanfinal booleanbooleanfinal booleanbooleanfinal booleanbooleanChecks if this type is equal to the given one.static SeqTypeReturns a sequence type.static SeqTypeReturns a sequence type.booleanArrayType.instanceOf(Type type) final booleanAtomType.instanceOf(Type type) booleanFuncType.instanceOf(Type type) final booleanListType.instanceOf(Type tp) booleanMapType.instanceOf(Type type) final booleanNodeType.instanceOf(Type type) booleanType.instanceOf(Type type) Checks if the current type is an instance of the specified type.final Typefinal Typefinal TypeComputes the intersection between this type and the given one, i.e.default booleanChecks if this is one of the specified types.final Typefinal Typefinal TypeComputes the union between this type and the given one, i.e.