Xmipp
v3.23.11-Nereus
xmippCore
core
metadata_sql_operations.h
Go to the documentation of this file.
1
/***************************************************************************
2
*
3
* Authors: David Strelak (davidstrelak@gmail.com)
4
*
5
* Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20
* 02111-1307 USA
21
*
22
* All comments concerning this program package may be sent to the
23
* e-mail address 'xmipp@cnb.csic.es'
24
***************************************************************************/
25
26
#ifndef CORE_METADATA_SQL_OPERATIONS_H_
27
#define CORE_METADATA_SQL_OPERATIONS_H_
28
30
enum
AggregateOperation
31
{
32
AGGR_COUNT
,
AGGR_MAX
,
AGGR_MIN
,
AGGR_SUM
,
AGGR_AVG
33
};
34
36
enum
SetOperation
37
{
38
UNION
,
UNION_DISTINCT
,
INTERSECTION
,
SUBSTRACTION
,
INNER_JOIN
,
LEFT_JOIN
,
OUTER_JOIN
,
NATURAL_JOIN
,
REMOVE_DUPLICATE
,
DISTINCT
39
};
40
42
enum
JoinType
43
{
44
INNER
=
INNER_JOIN
,
LEFT
=
LEFT_JOIN
,
OUTER
=
OUTER_JOIN
,
NATURAL
=
NATURAL_JOIN
45
};
46
47
#endif
/* CORE_METADATA_SQL_OPERATIONS_H_ */
NATURAL
Definition:
metadata_sql_operations.h:44
NATURAL_JOIN
Definition:
metadata_sql_operations.h:38
AGGR_MIN
Definition:
metadata_sql_operations.h:32
REMOVE_DUPLICATE
Definition:
metadata_sql_operations.h:38
SUBSTRACTION
Definition:
metadata_sql_operations.h:38
AGGR_SUM
Definition:
metadata_sql_operations.h:32
DISTINCT
Definition:
metadata_sql_operations.h:38
OUTER
Definition:
metadata_sql_operations.h:44
AggregateOperation
AggregateOperation
Definition:
metadata_sql_operations.h:30
AGGR_COUNT
Definition:
metadata_sql_operations.h:32
JoinType
JoinType
Definition:
metadata_sql_operations.h:42
SetOperation
SetOperation
Definition:
metadata_sql_operations.h:36
AGGR_AVG
Definition:
metadata_sql_operations.h:32
UNION_DISTINCT
Definition:
metadata_sql_operations.h:38
INNER_JOIN
Definition:
metadata_sql_operations.h:38
INNER
Definition:
metadata_sql_operations.h:44
INTERSECTION
Definition:
metadata_sql_operations.h:38
AGGR_MAX
Definition:
metadata_sql_operations.h:32
UNION
Definition:
metadata_sql_operations.h:38
OUTER_JOIN
Definition:
metadata_sql_operations.h:38
LEFT
Definition:
metadata_sql_operations.h:44
LEFT_JOIN
Definition:
metadata_sql_operations.h:38
Generated by
1.8.13