Package | Description |
---|---|
no.esito.anonymizer | |
no.esito.anonymizer.column | |
no.esito.anonymizer.core | |
no.esito.anonymizer.mask |
Modifier and Type | Method and Description |
---|---|
IColumn[] |
IWorkTask.getAllColumns()
All columns in table.
|
IColumn[] |
IChildRelation.getChildColumns()
Columns in child used to identify parent.
|
IColumn |
IAnonymization.getColumn()
Name of column to be anonymized.
|
IColumn[] |
IUpdateColumns.getIndexColumns()
Get index columns.
|
IColumn[] |
IChildRelation.getParentColumns()
Columns in parent used to identify the children.
|
static IColumn |
IColumn.lookup(String name,
IColumn[] columns)
Utility method to get column by name.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
IColumn.listNames(IColumn[] columns)
Utility method to get names of columns.
|
static IColumn |
IColumn.lookup(String name,
IColumn[] columns)
Utility method to get column by name.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
IColumn.listNames(Collection<IColumn> columns)
Utility method to get names of columns.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractColumn
Column holder has name and methods to deal with the datatype.
|
class |
BooleanColumn
Column holding a Boolean / Bit.
|
class |
DateColumn
Column holding a Date.
|
class |
DateTimeColumn
Column holding a DateTime Timestamp.
|
class |
NumberColumn
Column holding a Decimal, Double, Float.
|
class |
TextColumn
Column holding a String, varchar nvarchar, etc.
|
class |
TimeColumn
Column holding Time.
|
class |
UnknownColumn
Column holding unknown content indicating there is something wrong in the model.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractColumn.compareTo(IColumn o) |
Modifier and Type | Field and Description |
---|---|
IColumn[] |
CreateParent.fkColumns
Column definitions for the columns to assign values.
|
Modifier and Type | Method and Description |
---|---|
IColumn[] |
AbstractWorkTask.getAllColumns() |
IColumn[] |
AbstractChildRelation.getChildColumns() |
IColumn |
SarColumn.getColumn() |
IColumn |
EraseColumn.getColumn() |
IColumn[] |
AbstractWorkTask.getColumns()
Gets an array of columns necessary to read from the table.
|
IColumn[] |
AbstractChildRelation.getParentColumns() |
Modifier and Type | Method and Description |
---|---|
protected static void |
AbstractWorkTask.assignCell(PreparedStatement stmt,
int n,
IColumn type,
String val)
Assigning cell for SQL Batch operation.
|
protected static void |
AbstractWorkTask.executeBatch(Connection conn,
IColumn[] columns,
List<String> updcols,
List<String[]> rows,
String cmd,
IColumn[] index,
String[][] where)
Executing SQL statement using batch mode.
|
protected static void |
AbstractWorkTask.executeBatch(Connection conn,
IColumn[] columns,
List<String> updcols,
List<String[]> rows,
String cmd,
IColumn[] index,
String[][] where)
Executing SQL statement using batch mode.
|
protected void |
AbstractWorkTask.sqlUpdateRowsNoIndex(Connection conn,
IColumn[] columns,
List<String> updatecolumns,
List<String[]> rows)
Updates rows with a list of columns from table using specified where clause.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractWorkTask.initCols(Collection<IColumn> cols)
Abstract method to assemble list of columns necessary.
|
protected void |
AbstractUpdateTask.initCols(Collection<IColumn> cols) |
protected void |
AbstractSarTask.initCols(Collection<IColumn> cols) |
protected void |
AbstractEraseTask.initCols(Collection<IColumn> cols) |
protected void |
AbstractDeleteTask.initCols(Collection<IColumn> cols) |
protected void |
AbstractCreateTask.initCols(Collection<IColumn> cols) |
protected static void |
AbstractWorkTask.registerAnonymizations(Collection<IColumn> cols,
IAnonymization[] anos)
Utility method to register anonymization methods and if necessary add the column to the list.
|
protected static void |
AbstractWorkTask.sqlUpdateRows(Connection conn,
String table,
List<IColumn> columns,
Collection<String> updatecolumns,
List<String[]> rows,
String where)
Updates rows from a list of columns from table using specified where clause.
|
Constructor and Description |
---|
AbstractChildRelation(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns)
Delete constructor
|
AbstractChildRelation(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns)
Delete constructor
|
CascadeDelete(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns) |
CascadeDelete(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns) |
CascadeDelete(String table,
IColumn[] parentColumns,
IColumn[] childColumns) |
CascadeDelete(String table,
IColumn[] parentColumns,
IColumn[] childColumns) |
CascadeErase(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns,
IAnonymization[] anonymizations) |
CascadeErase(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns,
IAnonymization[] anonymizations) |
CascadeSar(String table,
String label,
String comment,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] indexColumns,
IAnonymization[] anonymizations) |
CascadeSar(String table,
String label,
String comment,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] indexColumns,
IAnonymization[] anonymizations) |
CreateParent(String parent,
String[] parentColumns,
IColumn[] fkColumns,
String params)
Parent for Create operation.
|
EraseColumn(IColumn column,
String format,
ITransformation transformation) |
NotExistsDelete(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns)
Delete using NOT EXISTS
|
NotExistsDelete(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns)
Delete using NOT EXISTS
|
NotExistsDelete(String table,
IColumn[] parentColumns,
IColumn[] childColumns)
Set NULL using NOT EXISTS
|
NotExistsDelete(String table,
IColumn[] parentColumns,
IColumn[] childColumns)
Set NULL using NOT EXISTS
|
NotInDelete(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns)
Delete using NOT IN
|
NotInDelete(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns)
Delete using NOT IN
|
NotInDelete(String table,
IColumn[] parentColumns,
IColumn[] childColumns)
Set NULL using NOT IN
|
NotInDelete(String table,
IColumn[] parentColumns,
IColumn[] childColumns)
Set NULL using NOT IN
|
SarColumn(IColumn column,
String format,
ITransformation transformation,
String label,
String comment) |
SetNullErase(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns,
IAnonymization[] anonymizations) |
SetNullErase(String table,
IColumn[] parentColumns,
IChildRelation[] children,
IColumn[] childColumns,
IAnonymization[] anonymizations) |
Modifier and Type | Method and Description |
---|---|
IColumn |
MaskColumn.getColumn() |
Constructor and Description |
---|
MaskColumn(IColumn column,
IConversion conversion) |
Copyright © 2021. All rights reserved.