Class BlobUtils

java.lang.Object
com.lancedb.lance.spark.utils.BlobUtils

public class BlobUtils extends Object
  • Field Details

  • Constructor Details

    • BlobUtils

      public BlobUtils()
  • Method Details

    • isBlobSparkField

      public static boolean isBlobSparkField(org.apache.spark.sql.types.StructField field)
      Check if a Spark field is a blob field based on its metadata.
      Parameters:
      field - the Spark struct field to check
      Returns:
      true if the field is a blob field, false otherwise
    • isBlobArrowField

      public static boolean isBlobArrowField(org.apache.arrow.vector.types.pojo.Field field)
      Check if an Arrow field is a blob field based on its metadata.
      Parameters:
      field - the Arrow field to check
      Returns:
      true if the field is a blob field, false otherwise