Class Utils

java.lang.Object
com.redis.vl.utils.Utils

public final class Utils extends Object
Utility methods for RedisVL.
  • Method Details

    • currentTimestamp

      public static double currentTimestamp()
      Get current timestamp with microsecond precision.

      Matches Python's current_timestamp() from redisvl.utils.utils which uses time.time() returning seconds since epoch with microsecond precision (e.g., 1759898747.946505).

      Returns:
      Current time in seconds since epoch with microsecond precision as a double