public class Pattern extends Object
Pattern
represents the pattern to filer. It is used in SearchQuery
.
It has the syntax, like the SQL pattern.Modifier and Type | Field | Description |
---|---|---|
private String |
contains |
|
private String |
endsWith |
|
private String |
pattern |
|
private String |
startsWith |
Constructor | Description |
---|---|
Pattern() |
Modifier and Type | Method | Description |
---|---|---|
String |
build() |
|
Pattern |
contains(String contains) |
|
Pattern |
endsWith(String endsWith) |
|
Pattern |
startsWith(String startsWith) |
|
Pattern |
withPattern(String pattern) |
Copyright © 2020. All rights reserved.