Scylla Documentation Logo Documentation
  • Server
    • Scylla Open Source
    • Scylla Enterprise
    • Scylla Alternator
  • Cloud
    • Scylla Cloud
    • Scylla Cloud Docs
  • Tools
    • Scylla Manager
    • Scylla Monitoring Stack
    • Scylla Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
Download
Menu

Caution

You're viewing documentation for a previous version of Scylla Python Driver. Switch to the latest stable version.

Scylla Python Driver API Documentation cassandra.datastax.graph.fluent.predicates

cassandra.datastax.graph.fluent.predicates¶

class cassandra.datastax.graph.fluent.predicates.Search¶
static token(value)¶

Search any instance of a certain token within the text property targeted. :param value: the value to look for.

static token_prefix(value)¶

Search any instance of a certain token prefix withing the text property targeted. :param value: the value to look for.

static token_regex(value)¶

Search any instance of the provided regular expression for the targeted property. :param value: the value to look for.

static prefix(value)¶

Search for a specific prefix at the beginning of the text property targeted. :param value: the value to look for.

static regex(value)¶

Search for this regular expression inside the text property targeted. :param value: the value to look for.

static fuzzy(value, distance)¶

Search for a fuzzy string inside the text property targeted. :param value: the value to look for. :param distance: The distance for the fuzzy search. ie. 1, to allow a one-letter misspellings.

static token_fuzzy(value, distance)¶

Search for a token fuzzy inside the text property targeted. :param value: the value to look for. :param distance: The distance for the token fuzzy search. ie. 1, to allow a one-letter misspellings.

static phrase(value, proximity)¶

Search for a phrase inside the text property targeted. :param value: the value to look for. :param proximity: The proximity for the phrase search. ie. phrase(‘David Felcey’, 2).. to find ‘David Felcey’ with up to two middle names.

class cassandra.datastax.graph.fluent.predicates.CqlCollection¶
static contains(value)¶

Search for a value inside a cql list/set column. :param value: the value to look for.

static contains_value(value)¶

Search for a map value. :param value: the value to look for.

static contains_key(value)¶

Search for a map key. :param value: the value to look for.

static entry_eq(value)¶

Search for a map entry. :param value: the value to look for.

class cassandra.datastax.graph.fluent.predicates.Geo¶
static inside(value, units=1)¶

Search any instance of geometry inside the Distance targeted. :param value: A Distance to look for. :param units: The units for value. See GeoUnit enum. (Can also provide an integer to use as a multiplier to convert value to degrees.)

PREVIOUS
cassandra.datastax.graph.fluent.query
NEXT
Installation
  • 3.24.8
    • 3.25.4
    • 3.24.8
    • 3.22.3
    • 3.21.0
  • API Documentation
    • cassandra - Exceptions and Enums
    • cassandra.cluster - Clusters and Sessions
    • cassandra.policies - Load balancing and Failure Handling Policies
    • cassandra.auth - Authentication
    • cassandra.graph - Graph Statements, Options, and Row Factories
    • cassandra.metadata - Schema and Ring Topology
    • cassandra.metrics - Performance Metrics
    • cassandra.query - Prepared Statements, Batch Statements, Tracing, and Row Factories
    • cassandra.pool - Hosts and Connection Pools
    • cassandra.protocol - Protocol Features
    • cassandra.encoder - Encoders for non-prepared Statements
    • cassandra.decoder - Data Return Formats
    • cassandra.concurrent - Utilities for Concurrent Statement Execution
    • cassandra.connection - Low Level Connection Info
    • cassandra.util - Utilities
    • cassandra.timestamps - Timestamp Generation
    • cassandra.io.asyncioreactor - asyncio Event Loop
    • cassandra.io.asyncorereactor - asyncore Event Loop
    • cassandra.io.eventletreactor - eventlet-compatible Connection
    • cassandra.io.libevreactor - libev Event Loop
    • cassandra.io.geventreactor - gevent-compatible Event Loop
    • cassandra.io.twistedreactor - Twisted Event Loop
    • cassandra.cqlengine.models - Table models for object mapping
    • cassandra.cqlengine.columns - Column types for object mapping models
    • cassandra.cqlengine.query - Query and filter model objects
    • cassandra.cqlengine.connection - Connection management for cqlengine
    • cassandra.cqlengine.management - Schema management for cqlengine
    • cassandra.cqlengine.usertype - Model classes for User Defined Types
    • cassandra.datastax.graph - Graph Statements, Options, and Row Factories
    • cassandra.datastax.graph.fluent
    • cassandra.datastax.graph.fluent.query
    • cassandra.datastax.graph.fluent.predicates
  • Installation
  • Getting Started
  • Scylla Specific Features
  • Upgrading
  • Execution Profiles
  • Performance Notes
  • Paging Large Queries
  • Lightweight Transactions (Compare-and-set)
  • Security
  • User Defined Types
  • Object Mapper
    • Upgrade Guide
    • Models
    • Making Queries
    • Batch Queries
    • Connections
    • Third party integrations
    • Frequently Asked Questions
  • Working with Dates and Times
  • Scylla Cloud
  • Frequently Asked Questions
  • Create an issue
  • Edit this page
Logo
Docs Contact Us About Us
Mail List Icon Slack Icon
© ScyllaDB 2021 and © DataStax 2013-2017
Powered by Sphinx 4.3.2 & ScyllaDB Theme 1.2.2