类 FindCondition.Builder

java.lang.Object
com.lark.oapi.service.sheets.v3.model.FindCondition.Builder
封闭类:
FindCondition

public static class FindCondition.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • range

      public FindCondition.Builder range(String range)
      查找范围,参考 [名词解释 Range](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview)

      示例值:PNIfrm!A1:C5

      参数:
      range -
      返回:
    • matchCase

      public FindCondition.Builder matchCase(Boolean matchCase)
      是否忽略大小写,默认为 false;- `true`:表示忽略字符串中字母大小写差异;- `false`:表示区分字符串中字母大小写

      示例值:true

      参数:
      matchCase -
      返回:
    • matchEntireCell

      public FindCondition.Builder matchEntireCell(Boolean matchEntireCell)
      是否完全匹配整个单元格,默认值为 false;- `true`:表示完全匹配单元格,比如 find 取值为 "hello",则单元格中的内容必须为 "hello";- `false`:表示允许部分匹配单元格,比如 find 取值为 "hello",则单元格中的内容包含 "hello" 即可

      示例值:false

      参数:
      matchEntireCell -
      返回:
    • searchByRegex

      public FindCondition.Builder searchByRegex(Boolean searchByRegex)
      是否为正则匹配,默认值为 false;- `true`:表示使用正则匹配;- `false`:表示不使用正则匹配

      示例值:false

      参数:
      searchByRegex -
      返回:
    • includeFormulas

      public FindCondition.Builder includeFormulas(Boolean includeFormulas)
      是否仅搜索单元格公式,默认值为 false;- `true`:表示仅搜索单元格公式;- `false`:表示仅搜索单元格内容

      示例值:false

      参数:
      includeFormulas -
      返回:
    • build

      public FindCondition build()