public static class Delete.Selection extends Delete.Builder
Constructor and Description |
---|
Selection() |
Modifier and Type | Method and Description |
---|---|
Delete.Builder |
all()
Deletes all columns (i.e.
|
Delete.Selection |
column(String columnName)
Deletes the provided column.
|
Delete.Selection |
listElt(String columnName,
BindMarker idx)
Deletes the provided list element,
specified as a bind marker.
|
Delete.Selection |
listElt(String columnName,
int idx)
Deletes the provided list element.
|
Delete.Selection |
mapElt(String columnName,
Object key)
Deletes a map element given a key.
|
Delete.Selection |
setElt(String columnName,
BindMarker element)
Deletes the provided set element,
specified as a bind marker.
|
Delete.Selection |
setElt(String columnName,
Object element)
Deletes the provided set element.
|
from, from, from
public Delete.Builder all()
IllegalStateException
- if some columns had already been selected for this builder.public Delete.Selection column(String columnName)
columnName
- the column to select for deletion.public Delete.Selection listElt(String columnName, int idx)
columnName
- the name of the list column.idx
- the index of the element to delete.public Delete.Selection listElt(String columnName, BindMarker idx)
columnName
- the name of the list column.idx
- the index of the element to delete.public Delete.Selection setElt(String columnName, Object element)
columnName
- the name of the set column.element
- the element to delete.public Delete.Selection setElt(String columnName, BindMarker element)
columnName
- the name of the set column.element
- the element to delete.public Delete.Selection mapElt(String columnName, Object key)
columnName
- the name of the map column.key
- the key for the element to delete.Copyright © 2012–2015. All rights reserved.