Class GoogleSqlSemnatics (0.4.1)

GoogleSqlSemnatics()

Implementation of dialect semantics for Google SQL.

Methods

getDistanceFunction

getDistanceFunction(distance_strategy=DistanceStrategy.EUCLIDEIAN) -> str

Abstract method to get the distance function based on the provided distance strategy.

Parameters:

  • distance_strategy (DistanceStrategy): The distance calculation strategy. Defaults to DistanceStrategy.EUCLIDEAN.

Returns:

  • str: The name of the distance function.