Class GoogleSqlSemnatics (0.5.0)

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.