public class FileSinkOptionsMetadata extends java.lang.Object implements ProfileNamesProvider
Modifier and Type | Class and Description |
---|---|
static class |
FileSinkOptionsMetadata.Mode |
NO_PROFILES
Constructor and Description |
---|
FileSinkOptionsMetadata() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCharset() |
java.lang.String |
getDir() |
java.lang.String |
getDirExpression() |
java.lang.String |
getExtensionWithDot()
Return dot + suffix if suffix is set, or the empty string otherwise.
|
FileSinkOptionsMetadata.Mode |
getMode() |
java.lang.String |
getName() |
java.lang.String |
getNameExpression() |
boolean |
isBinary() |
java.lang.String[] |
profilesToActivate() |
void |
setBinary(boolean binary) |
void |
setCharset(java.lang.String charset) |
void |
setDir(java.lang.String dir) |
void |
setDirExpression(java.lang.String dirExpression) |
void |
setMode(FileSinkOptionsMetadata.Mode mode) |
void |
setName(java.lang.String name) |
void |
setNameExpression(java.lang.String nameExpression) |
void |
setSuffix(java.lang.String suffix) |
@NotNull public FileSinkOptionsMetadata.Mode getMode()
public void setMode(FileSinkOptionsMetadata.Mode mode)
public java.lang.String getExtensionWithDot()
public void setSuffix(java.lang.String suffix)
public java.lang.String getName()
public void setName(java.lang.String name)
@NotBlank public java.lang.String getDir()
public void setDir(java.lang.String dir)
public boolean isBinary()
public void setBinary(boolean binary)
public void setCharset(java.lang.String charset)
@NotBlank public java.lang.String getCharset()
public java.lang.String getNameExpression()
public void setNameExpression(java.lang.String nameExpression)
public java.lang.String getDirExpression()
public void setDirExpression(java.lang.String dirExpression)
public java.lang.String[] profilesToActivate()
profilesToActivate
in interface ProfileNamesProvider