ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Deployments
    • Cloud
    • Server
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
    • Supported Driver Versions
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Install
Search Ask AI
ScyllaDB Docs ScyllaDB Node.js Driver API Reference Modules metadata SchemaFunction

SchemaFunction¶

metadata~SchemaFunction()

Describes a CQL function.

Constructor¶

new SchemaFunction()

Creates a new SchemaFunction.

Source

metadata/schema-function.js, line 8

Members¶

argumentNames :Array:.<String:>

List of the function argument names.

Type:
  • Array:.<String:>

Source

metadata/schema-function.js, line 31

argumentTypes :Array:.<{code:, info:}>

List of the function argument types.

Type:
  • Array:.<{code:, info:}>

Source

metadata/schema-function.js, line 36

body :String

Body of the function.

Type:
  • String

Source

metadata/schema-function.js, line 41

calledOnNullInput :Boolean

Determines if the function is called when the input is null.

Type:
  • Boolean

Source

metadata/schema-function.js, line 46

deterministic :Boolean

Indicates whether or not this function is deterministic. This means that given a particular input, the function will always produce the same output.

Type:
  • Boolean

Source

metadata/schema-function.js, line 62

keyspaceName

Name of the keyspace where the cql function is declared.

Source

metadata/schema-function.js, line 21

language :String

Name of the programming language, for example: java, javascript, ...

Type:
  • String

Source

metadata/schema-function.js, line 51

monotonic :Boolean

Indicates whether or not this function is monotonic on all of its arguments. This means that it is either entirely non-increasing or non-decreasing. Even if the function is not monotonic on all of its arguments, it's possible to specify that it is monotonic on one of its arguments, meaning that partial applications of the function over that argument will be monotonic.

Monotonicity is required to use the function in a GROUP BY clause.

Type:
  • Boolean

Source

metadata/schema-function.js, line 74

monotonicOn :Array:.<String:>

The argument names that the function is monotonic on.

If monotonic is true, this will return all argument names. Otherwise, this will return either one argument or an empty array.

Type:
  • Array:.<String:>

Source

metadata/schema-function.js, line 82

name :String

Name of the cql function.

Type:
  • String

Source

metadata/schema-function.js, line 17

returnType :Object

Type of the return value.

Type:
  • Object

Source

metadata/schema-function.js, line 56

signature :Array:.<String:>

Signature of the function.

Type:
  • Array:.<String:>

Source

metadata/schema-function.js, line 26

Was this page helpful?

PREVIOUS
Metadata
NEXT
Strategy
  • Create an issue
  • Edit this page

On this page

  • SchemaFunction
    • Constructor
    • Members
ScyllaDB Node.js Driver
Search Ask AI
  • main
    • main
  • API Reference
    • Modules
      • auth
        • AuthProvider
        • Authenticator
        • PlainTextAuthProvider
      • concurrent
      • datastax
      • errors
        • ArgumentError
        • AuthenticationError
        • BusyConnectionError
        • DriverInternalError
        • NoHostAvailableError
        • NotSupportedError
        • OperationTimedOutError
        • ResponseError
      • geometry
      • mapping
        • DefaultTableMappings
        • Mapper
        • ModelBatchItem
        • ModelMapper
        • Result
        • UnderscoreCqlToCamelCaseMappings
        • TableMappings
      • metadata
        • Aggregate
        • ClientState
        • ColumnMetadata
        • Index
        • KeyspaceMetadata
        • MaterializedView
        • Metadata
        • SchemaFunction
        • Strategy
        • TableMetadata
        • UdtField
        • UserDefinedType
      • metrics
        • DefaultMetrics
        • ClientMetrics
      • policies
        • addressResolution
          • AddressTranslator
          • EC2MultiRegionTranslator
          • MappingAddressTranslator
        • loadBalancing
          • AllowListPolicy
          • DCAwareRoundRobinPolicy
          • DefaultLoadBalancingPolicy
          • LegacyDefaultLoadBalancingPolicy
          • LoadBalancingConfig
          • LoadBalancingPolicy
          • RoundRobinPolicy
          • TokenAwarePolicy
        • reconnection
          • ConstantReconnectionPolicy
          • ExponentialReconnectionPolicy
          • ReconnectionPolicy
        • retry
          • FallthroughRetryPolicy
          • RetryPolicy
        • speculativeExecution
          • ConstantSpeculativeExecutionPolicy
          • NoSpeculativeExecutionPolicy
          • SpeculativeExecutionPolicy
        • timestampGeneration
          • MonotonicTimestampGenerator
          • TimestampGenerator
      • tracker
        • RequestLogger
        • RequestTracker
      • types
        • Duration
        • InetAddress
        • Integer
        • LocalDate
        • Long
        • ResultSet
        • ResultStream
        • Row
        • TimeUuid
        • Vector
    • Classes
      • AddressResolver
      • ByteOrderedToken
      • Client
      • Encoder
      • EncoderMembers
      • ExecutionOptions
      • ExecutionProfile
      • FrameReader
      • HashSet
      • Host
      • HostMap
      • LineString
      • Murmur3Token
      • Point
      • Polygon
      • PreparedInfo
      • RandomToken
      • SslOptions
      • Token
      • TokenRange
    • Interfaces
    • Events
    • Global Functions and Constants
Docs Tutorials University Contact Us About Us
© 2026 ScyllaDB | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 14 May 2026.
Powered by Sphinx 9.1.0 & ScyllaDB Theme 1.9.2